Looking at the preceding flow chart, which meets our requirements, we know we need to develop the following in the ASP.NET Core 2.0 application to constitute a basic two-player Tic-Tac-Toe game:
- A web page where players can go and register themselves with their name and display a picture
- A module to find an opponent to play against
- A module to simulate a coin toss to ensure fairness in giving players the option of making the first move
- The UI for the Tic-Tac-Toe game board in the web page, that is, a 3×3 grid where players can place their image
- Logic to indicate to the player whether it's their turn or the opponent's turn
- A module to show the opponent and player the move that was made
- A mechanism to ensure that the player and opponent's board are in sync with their moves
- Logic to check whether the game is over
- Logic to determine the...