msyvr / reactoe

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

Home Page:https://reactoe.netlify.app/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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 :)

About

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

https://reactoe.netlify.app/


Languages

Language:JavaScript 54.2%Language:HTML 26.1%Language:CSS 19.7%