Skip to content
This repository has been archived by the owner on Nov 28, 2021. It is now read-only.

AlexandruGG/Tic-Tac-Toe-React-Game

Repository files navigation

This project was bootstrapped with Create React App.

Additional Features (proposed at the end of the React Tutorial):

  • Display the location for each move in the format (col, row) in the move history list.
  • Bold the currently selected item in the move list.
  • Rewrite Board to use two loops to make the squares instead of hardcoding them.
  • Add a toggle button that lets you sort the moves in either ascending or descending order.
  • When someone wins, highlight the three squares that caused the win.
  • When no one wins, display a message about the result being a draw.

Available Scripts

In the project directory, you can run:

npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

npm run build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

See the section about deployment for more information.

Learn More

You can learn more in the Create React App documentation.

To learn React, check out the React documentation.

About

A basic Tic-Tac-Toe game built based on the official React documentation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published