Turn Based Game(PUN or something else)

Hi all,
I am new to photon unity networking(PUN).
I am making turn based game in which one player can move more than 2 moves one after another. But in RPS tutorial players are moving at same time.

Questions:
1.How i can make turn based game (E.g. poker card game or any card games)?Can any one give me proper demo of turn based game?
2.How to resolved this error or warning :
Can't SendMove. Turn is finished by this player.

3. Can any one give me documentation link for PunTurnManager?


Thank you. :smile:

Comments

  • JohnTube
    JohnTube ✭✭✭✭✭
    Hi @Vitthal,

    Thank you for choosing Photon!

    RockPaperScissors demo (that makes use of PunTurnManager) documentation page can be found here.
    There is also MemoryDemo of the Photon Unity Realtime SDK documented here.

    We cannot have a demo or template for every possible game out there.
    So you need to figure out how to change or adapt the demo codes to your game needs.

    Maybe other Photon customers can help you as well. But first you need to try something yourself.
  • Hi @JohnTube

    Thank you for replaying me.

    I tried RockPaperScissors demo and made my game according to that. But need help when one player want to move 2 times and then other player move like MemoryDemo. But when one player can move only once and when i try again to move same player i am getting this error or warning : Can't SendMove. Turn is finished by this player..

    Please guide me on this.

    Thank you.