Skip to content

PikuzaMarie/tic-tac-toe

Repository files navigation

Tic Tac Toe

Simple two-player game built with React!

Game UI

Game UI

How to run the project locally

0. Prerequisities:

  • If you don't have Node.js on your PC, install it here (use version 20.18.0 or above)

  • Verify node version

node -v // Should print "v20.18.0" or above.
  • Verify npm version
npm -v // Should print "10.9.0" or above.

1. Clone the repository:

git clone https://github.com/PikuzaMarie/tic-tac-toe-game.git

2. Go to the directory:

cd tic-tac-toe-game

3. Install dependencies:

npm install

4. Start the project

It will automatically run in your default browser at http://localhost:3000/

npm run dev

Features

  • Game logic adhering to game rules
  • Track in-game moves with Log component
  • Display winner's name or a draw message using the Game Over component
  • Customize game settings via gameConfig

Extra

  • Clean code with the use of ESLint, Prettier & lint-staged
  • Deploy on Netlify so you can play the game

Contribution

This project was developed using materials from the'React - The Complete Guide 2025' instructed by Maximilian Schwarzmüller at Academind: link to github repo