Please keep our forum rules in mind: we aspire to provide a safe environment for our users, so will not tolerate discriminatory, hateful, inflammatory or threatening posts. Thank you. http://mcgam.es/forum-rules
Please note that registration for the forum is age-restricted.

First break opportunity (How wil the first break chance be decided between two anonymous players ?

If you are intrested in knowing this fact,please post your suggestions

Comments

  • When the game starts the server assigns one player as player 0 and the other as player 1. I assume this is just done by generating a random number server side. Each player is then informed of their "number" (and a bunch of other stuff) and whichever is player 0 breaks.
  • omgsunomgsun Posts: 2,239 Pool Champion
    globfly wrote: »
    When the game starts the server assigns one player as player 0 and the other as player 1. I assume this is just done by generating a random number server side. Each player is then informed of their "number" (and a bunch of other stuff) and whichever is player 0 breaks.

    no, they probably put the two players in an array of length 2 and then (using java)

    Player= thatArray[Math.random()];

    where Player is a class that they make

    or something similar to that... but yeah ur right on using a random function
Sign In or Register to comment.

Who's Online7

Carl Tales
Carl Tales
GilSM
GilSM
+5 Guests