Giter Site home page Giter Site logo

sudokmaar / noughts-and-crosses-clash Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 1.0 421 KB

XO-CLASH is a multiplayer tic-tac-toe game where two players can compete against each other to win the game.

Home Page: https://xo-clash.netlify.app/

TypeScript 86.36% JavaScript 4.15% HTML 4.24% CSS 5.24%
javascript nodejs particles-bg react socket-io tic-tac-toe abhishek abhishek-kmaar abhishek-kumar expressjs kmaar kmaar-miscellaneous-studio kumar xo-clash

noughts-and-crosses-clash's Introduction

XO-CLASH

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

Features

  • 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.

Technologies Used

  • 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.

Prerequisites

To run the XO-CLASH React app locally, you need to have the following installed:

  • Node.js: JavaScript runtime environment
  • npm: Node package manager

Installation

Follow these steps to set up the XO-CLASH React app:

  1. Clone the repository to your local machine:

    git clone https://github.com/SudoKMaar/noughts-and-crosses-clash.git
  2. Navigate to the project directory:

    cd xo-clash
  3. Install the dependencies:

    npm install

Usage

Once you have installed the dependencies, follow these steps to run the XO-CLASH React app:

  1. Start the development server:

    npm start
  2. Open your web browser and go to http://localhost:3000 to access the application.

  3. Invite your friend to join the game by sharing the room name.

  4. Take turns making moves on the tic-tac-toe board.

  5. If a player wins, a victory alert will be displayed, showing the winner's symbol and the game score.

  6. Request a rematch to play another game with the same opponent.

  7. Use the "Leave Room" button to exit the game room.

Contributing

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.

License

This project is licensed under the MIT License.

Acknowledgements

  • The project utilizes various open-source libraries and frameworks, including React, Socket.IO, ParticlesBg, and CSS styling.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.