multi player domino game synching
I am working on creating a domino game where it will start off being either 1 human and 3 computer player free for all or team. I am trying to figure out what would be the best way to handle doing the turns. I want to be able to make it where you can eventually have say 4 human players on different computers. I am a little familiar with sockets but don't know how I would keep everything synced up. By this I mean I'm not sure how to have the players be forced to wait until it is their turn before they are able to play. I am a little familiar with semaphores and socket programming but only barely and am wondering what some suggested reading materials might be. Thank you for any and all help.
Re: multi player domino game synching
Disable the GUI controls like buttons etc when it is not their turn.
how to have the players be forced to wait until it is their turn before they are able to play