/react-tic-tac-toe

A simple tic-tac-toe game made with react

Primary LanguageJavaScript

Tic-Tac-Toe App

This simple web app allows users to play the classic game of Tic-Tac-Toe against each other. The project is built using React.js and designed to be a fun and interactive way to enjoy the game.

Features

  • Two-player Gameplay: Play against a friend on the same device.
  • Real-time Updates: See the game board update in real-time as each player makes a move.
  • Game Over and Rematch: The game ends when a player wins or it's a draw. Players can choose to rematch.

How to Play

  1. Clone the repository to your local machine.

git clone https://github.com/PanagiotisPapad/tic-tac-toe-app.git

  1. Install dependencies.

    cd tic-tac-toe-app

    npm install

  2. Run the app

    npm run dev

  3. Open your browser and navigate to http://localhost:5173/ to play the game.

Technologies Used

  • React.js

Deployed on Github Pages

You can also play the game through this link: https://panagiotispapad.github.io/react-tic-tac-toe/