Welcome to our Tic-tac-toe game! This game supports both single-player mode against AI and multiplayer mode with invite via email functionality. Here's how you can play:
- Click on the "Play Now" button to start the game against AI.
- You will play as 'X' and AI will play as 'O'.
- Click on any cell to make your move.
- The game will automatically switch turns between you and AI.
- The first player to align three of their marks vertically, horizontally, or diagonally wins.
- Click on the "Invite Friend" button to play with another player.
- You will need to enter your friend's email address to send them an invite.
- Once your friend accepts the invite, you can start playing.
- Players will take turns to make their moves.
- The first player to align three of their marks vertically, horizontally, or diagonally wins.
Enjoy the game and may the best player win!