Search Unity

Help Wanted 2D multiplayer (LUDO/TIC TAC etc)

Discussion in 'Multiplayer' started by shemtom2002ke, Oct 3, 2021.

  1. shemtom2002ke


    Jul 5, 2021
    Suppose I was to make a 2d multiplayer game that involves turn-taking (i.e TIC TAC or LUDO).
    For example, 4 players have joined a room and have entered their details, the first player is then given the chance to play while other players should not be able to play until their time has reached for them to play. This kind of problem has been in my head for a week now and I was hoping someone would come through and help.

    I am using Photon.

    One of the ideas I had is that each player in the room should have an ID in them whereby the creator of the room should automatically start the game. The ID identifies which player to play next.

    How do I assign an ID to a player joining a room or creating a room?
    How do I make the next player in turn start playing in a multiplayer online game?

    If you think the idea is quite unrecommended kindly help out.