This is a Unity game that demostrate peer to peer multiplayer mode. Player has P2P Network where user can choose Single Player or Second Player.
Flow will be
A[Lobby (Mode Choice)] --> B[P2P Initialization]
A --> C[Game Starts]
C --> D[Evaluate Move]
D --> E[Simulate If Necessary]
D --> F Wait for the next Input
E --> C
F --> C
D --> B [Game Over]
Network Manager : Wraps Fusion Manager Game Manager: Handle logic State Controller: Handles State UI display Cell Controller: Handles Cell State and display Next Move Evaluation: Game Manager handles manually
Enter AppID in the /Assets/Photon/Fusion/Resources/PhotonAppSettings.asset
In the file Assets/Resources/config.json Add Fusion pick up your Application ID and place it there.
{
"ApplicationID": <Application Id Here>
}
- simulation could be wiser using minimax algorithm.
- At the GameOver, replay button should bring it back to A->C
- Multiplayer flow test.
- Moving AppID to the Configuration Assets/Resources/config.json