XO-CLASH is a multiplayer tic-tac-toe game where two players can compete against each other to win the game.
Deployer at XO CLASH
- Real-time multiplayer gameplay: Play tic-tac-toe with a friend in real-time.
- Room-based matchmaking: Join or create a room and invite your friend to play.
- Turn-based gameplay: Take turns making moves and strategize to win.
- Rematch functionality: Request a rematch with your opponent after completing a game.
- Interactive UI: Engaging user interface with visual effects and animations.
- React: JavaScript library for building user interfaces.
- Socket.IO: Real-time bidirectional event-based communication library.
- ParticlesBg: Particle background effect library for visual enhancement.
- CSS: Styling the components using custom styles.
To run the XO-CLASH React app locally, you need to have the following installed:
- Node.js: JavaScript runtime environment
- npm: Node package manager
Follow these steps to set up the XO-CLASH React app:
-
Clone the repository to your local machine:
git clone https://github.com/SudoKMaar/noughts-and-crosses-clash.git
-
Navigate to the project directory:
cd xo-clash
-
Install the dependencies:
npm install
Once you have installed the dependencies, follow these steps to run the XO-CLASH React app:
-
Start the development server:
npm start
-
Open your web browser and go to
http://localhost:3000
to access the application. -
Invite your friend to join the game by sharing the room name.
-
Take turns making moves on the tic-tac-toe board.
-
If a player wins, a victory alert will be displayed, showing the winner's symbol and the game score.
-
Request a rematch to play another game with the same opponent.
-
Use the "Leave Room" button to exit the game room.
Contributions to the XO-CLASH React app are welcome! If you find any issues or want to add new features, feel free to open an issue or submit a pull request.
Please make sure to follow the existing code style and include relevant tests when submitting a pull request.
This project is licensed under the MIT License.
- The project utilizes various open-source libraries and frameworks, including React, Socket.IO, ParticlesBg, and CSS styling.