Skip to content

aly-bahaa/Tic-Tac-Toe-With-Hooks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tic-Tac-Toe using Hooks

This is my personal implementation of React Docs Tic-Tac-Toe tutorial

I also implemented some of the extra tasks :

  • For the current move only, show “You are at move #…” instead of a button
  • 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 (and when no one wins, display a message about the result being a draw).

Usage:

In the project directory, you can run:

npm i

Then

npm start

Open http://localhost:3000 to view it in your browser.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published