How to make a turn-based game with the photon classes???

Options
I joined the link below:
https://doc.photonengine.com/en-us/pun/current/demos-and-tutorials/package-demos/rockpaperscissors-demo

But I can not put into practice, much less know how to use the following features: PunTurnManager, TurnManager Extensions and RpsCore.

So I urge you, someone to guide me how to use them, and give some example code if possible.

It's worth mentioning that, I set up a shift-based system manually. But I would like to take advantage of what the photon proposes.

Thanks in advance.

Answers

  • Gage_IAG
    Options
    If i recall correctly you can run a turn based system out of the box with RoomOptions by setting them custom once each player is done with their turn via a method upon the turn ending. Then perhaps a RPC to all players with a turn index and "if my player index == previous player turn index then its my turn".