Skip to content
/ reactoe Public

Play tic-tac-toe in the browser with this fun little React app

Notifications You must be signed in to change notification settings

msyvr/reactoe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Play tic tac toe at https://reactoe.netlify.app/.

Spinning this up in your local environment

  • Refer to the React documentation to get React up and running on your local environment.
  • No additional dependencies :)
  • Fork this repo into a dedicated folder, navigate to that folder, and 'npm start' will open a browser window with the game.

Why did I build this?

This project was inspired by a separate project (formAlly) that uses React to dynamically render forms from JSON data, including fields which are rendered conditionally in reponse to another field's input.

I'd recently started learning React and it had been a while since I used JavaScript. I wanted to learn about managing state and followed the tic-tac-toe tutorial on the official React site. The claim that mastering all the elements of writing an in-browser game of tic tac toe will solidify React essentials feels accurate. It's a nicely written tutorial - and it was fun to make a simple game :)