This React SPA provides a full experience on the classic Tic Tac Toe game.
Challenge your friends in single-player / multi-player approach and check the scores in the leaderboard!
- Single Player & Local Multiplayer: Challenge yourself against the computer or play with friends in local multiplayer mode.
- Leaderboard: insert your names and check the match scores.
- Responsive Design: Seamlessly play the game on any device, from desktops to smartphones, thanks to its responsive design.
- Clone the Repository
- Navigate to the Directory with
cd tic-tac-toe
- Install Dependencies:
pnpm install
- Start the Development Server:
pnpm run dev
- Open Your Browser: Visit http://localhost:5173 and enjoy playing TicTacToe!
- Single Player Mode: Insert a name in the first input and let the second input empty. Aim to beat the computer by forming a line of three emojis either horizontally, vertically, or diagonally.
- Local Multiplayer Mode: Play against a friend by taking turns to make moves. The player who succeeds in forming a line of three icons first wins the game!
- Leaderboard: Once a game is completed you will see the scores bellow the board. If you play on the same device, you will accumulate the results of the different games.
Contributions to Tic Tac Toe are highly appreciated! Whether it's bug fixes, feature enhancements, or suggestions, feel free to open an issue or submit a pull request. Let's make this game even better together!
If you find Tic Tac Toe helpful or you like what we're doing, please consider giving the repository a star! It's a quick way to show your support for this project.