Skip to content

atzin-escandia/react-tic-tac-toe

Repository files navigation

Tic-Tac-Toe Game with React and Vite 🎮

A simple Tic-Tac-Toe game built using React and Vite, providing a fun way to enjoy the classic game.

Features ✨

  • Interactive Gameplay: Enjoy a dynamic gaming experience with interactive board updates.
  • Game History: Keep track of the moves with a history of the game's progress.
  • Winner Declaration: Receive instant feedback on the game outcome.

Desktop 🖥️ Desktop Screenshot

Mobile 📱 Mobile Screenshot

Installation 💻 Clone this repository:

git clone https://github.com/your-username/tic-tac-toe-react-vite.git

Navigate to the project directory:

cd tic-tac-toe-react-vite

Install the dependencies:

npm install

Start the development server:

npm run dev

Open your browser and go to http://localhost:3000 to start playing Tic-Tac-Toe!

Usage 🚀 To start a new game, simply click on an empty square. The game will automatically switch turns between 'X' and 'O'. The first player to get three of their symbols in a row wins!

Contributing 🛠️ Contributions are welcome! If you find a bug or have an idea for an enhancement, please open an issue or submit a pull request.

If you enjoy playing this game, consider giving the repository a star! ✨

About

The tic-tac-toe game

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published