Results 1 to 2 of 2
  1. #1
    angrodm is offline Member
    Join Date
    Jan 2012
    Posts
    9
    Rep Power
    0

    Default multi player domino game synching

    Hello,
    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.

  2. #2
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    SW Missouri
    Posts
    17,403
    Rep Power
    25

    Default Re: multi player domino game synching

    how to have the players be forced to wait until it is their turn before they are able to play
    Disable the GUI controls like buttons etc when it is not their turn.

Similar Threads

  1. 2 player java game
    By nuubik in forum New To Java
    Replies: 1
    Last Post: 11-07-2011, 02:05 PM
  2. Platform Game |Player Not Showing Up|
    By petur170 in forum New To Java
    Replies: 16
    Last Post: 06-28-2011, 05:16 PM
  3. Rpg game player wont move help please
    By askumi in forum New To Java
    Replies: 19
    Last Post: 12-22-2010, 02:21 AM
  4. How to add online two player to a Java game?
    By michealsmith in forum Java Gaming
    Replies: 1
    Last Post: 11-30-2010, 07:43 PM
  5. how to log into a game with my player.java class
    By basketball8533 in forum New To Java
    Replies: 11
    Last Post: 10-13-2010, 12:40 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •