Skip to content

scissorsneedfoodtoo/tic-tac-toe-react

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Created as one of the freeCodeCamp advanced front end development projects. My goal was simply to model Google's tic-tac-toe web app as closely as possible using React.

Since this was my first time using React, I used this video was used as a jumping off point. Some of the code, such as the method for adding X's and O's to the board using map to append the current symbol to the board's array, is taken from the video tutorial. However, setting the symbols this way does cause the state to be mutated directly rather than with setState, so I plan to change those bits of code in the near future.

This project was bootstrapped with Create React App.

Check it out at https://scissorsneedfoodtoo.github.io/tic-tac-toe-react/.