In a 4 player network big 2 card game. how do I track a player turn?
so in my program, my server will wait for 4 clients to login.
my server will spawn a new thread each time a client is connected
after 4 clients have log in, the server will send the game view to all the clients respectively.
I know how to connect the players together. but I just have no idea to keep track of a players turn.Not asking for codes but just some advice on how to kick start. please help me. thanks.