Confirmation from all connected players

Options
siddharth3322
edited July 2014 in Photon Server
I am working on multiplayer roulette game for this want final confirmation from all connected player in the room.
At present I have all the basic working ready with connection of players and all other stuff.

I want functionality that when all connected players confirm their bet amount then only spinning of ball occurs.
So how to manager this situation in photon network? I want some basic information because I am working on multiplayer game first time.

Comments

  • vmarquis
    Options
    Hello

    You can have a have_confirm property on your player and when a client send a confirmation op then check for the other player of the room.

    But in a real roulette game you have a time limite to put money on the table, that's a more playable way