threads

  • Thread starter Thread starter tim Akinduro
  • Start date Start date
T

tim Akinduro

hi,
I need to create a game in C# using threads that takes four players
with different hands of cards, and the first player to have the same
numbers in their hand wins any ideas?
example
player 1 gets 3333 first this implies player one wins
 
Tim,

The only reason to use threads in this scenario would be to have
separate threads listening on sockets (or some other communication port) for
input. Then, when the server gets the notification that the user has the
same cards, the server will take action.

However, from a design standpoint, if server is the one controlling the
interaction between the four players, shouldn't the server know before the
players which one has four matching cards?
 
tim said:
hi,
I need to create a game in C# using threads that takes four players
with different hands of cards, and the first player to have the same
numbers in their hand wins any ideas?
example
player 1 gets 3333 first this implies player one wins

Well whats the actuall question?
 
Back
Top