/tictactoe-react-game

Tic Tac Toe(morpion) game in react

Primary LanguageJavaScript

tictactoe-react-game

Tic Tac Toe(morpion) game in react

Documentation

This project is a Tic Tac Toe game implemented using React and Node.js.



Markdown Monster icon



Installation

To install and run the game, you have two options:

Option 1: Using Git

  1. Clone the repository:

    git clone https://github.com/bambadiagne/tictactoe-react-game.git
  2. Navigate to the project directory:

    cd tictactoe-react-game
  3. Install the dependencies:

    npm install
  4. Start the development server:

    npm run dev

Option 2: Using Docker Compose

  1. Clone the repository:

    git clone https://github.com/bambadiagne/tictactoe-react-game.git
  2. Navigate to the project directory:

    cd tictactoe-react-game
  3. Build and run the Docker container:

    docker build . -t tictoctae-react-game
    docker run -dp 5000:5000 tictoctae-react-game

Usage

Once the development server is running, you can access the game in your web browser at http://localhost:5000.

Contributing

Contributions are welcome! If you would like to contribute to this project, please follow these guidelines:

  1. Fork the repository.
  2. Create a new branch for your feature or bug fix.
  3. Make your changes and commit them.
  4. Push your changes to your forked repository.
  5. Submit a pull request.