Skip to content

acecyq/tictactoe-react

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tictactoe-react

Create a game of tictactoe using react.

The starter code gives you a board component that outputs 3 rows and 9 spans.

Add the clickable elements to make the game playable.

http-server

You need to be able to serve the html file through your local network. Install http-server globally so that you can run the files: npm install -g http-server Run it in the directory: http-server

Further

Make the board composed of inputs.

Further

Add players and have them be able to add their name.

Further

Nest your board component within a game component. Add other components as yu see fit.

Further

Detect winning states. (hard-coded is ok)

Further

Add a score

Further

Make the columns and rows dynamic

Further

Make the winning state dynamic (3,4,5 in a row)

Further

Make a computer player

About

[react][js]

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 83.8%
  • HTML 16.2%