A real-time multiplayer 10x10 Tic-Tac-Toe game built with Node.js, Express, Socket.IO, and React.
This project is a multiplayer Tic-Tac-Toe game that allows two players to play against each other in real-time on a 10x10 grid. Players can create a room with an optional password or join an existing room using the room ID and password (if set). The game detects wins and draws and keeps track of scores.
- Real-time multiplayer gameplay.
- Create a room with an optional password.
- Join a room using the room ID and password (if set).
- 10x10 game board for extended gameplay.
- Score tracking for players.
- Win detection for Tic-Tac-Toe patterns on the 10x10 grid.
-
Backend:
- Node.js
- Express.js
- Socket.IO
- CORS
- UUID
-
Frontend:
- React.js
- Clone the repository:
git clone https://github.com/yourusername/10x10-tic-tac-toe.git
- Navigate to the server directory:
cd server
- Install dependencies:
npm install
- Start the server:
npm start
- Navigate to the client directory:
cd ..
- Clone the client repository if separate:
git clone https://github.com/yourusername/10x10-tic-tac-toe-client.git
- Navigate to the client directory:
cd 10x10-tic-tac-toe-client
- Install dependencies:
npm install
- Start the client:
npm start
-
Create a Room:
- Enter your player name (minimum 3 characters).
- Optionally set a password for the room.
- Click "Create Room" to generate a room ID.
- Share the room ID (and password, if set) with your opponent.
-
Join a Room:
- Enter your player name (minimum 3 characters).
- Enter the room ID provided by the room creator.
- If the room has a password, enter it.
- Click "Join Room" to enter the game.
-
Gameplay:
- Players take turns clicking on the grid cells to place their symbol ('X' or 'O').
- The game detects winning patterns of Tic-Tac-Toe on the 10x10 grid.
- The first player to reach 4 points wins the game.
- If all cells are filled without a winner, the game is a draw.
Contributions are welcome! Please read the CONTRIBUTING.md for details on how to contribute, including our code of conduct.
This project is licensed under the MIT License - see the LICENSE.md file for details.
- GitHub: ZYRACX
**Note:** Replace `yourusername`, `your.email@example.com`, and links with your actual information.