Tic Tac Toe Game, a React JS approach.
Explore the docs
Tic Tac Toe Game, a react JS approach.
- Assumed to use ReactJS Hooks & functional components
- User doesn't want to maintain state on page refresh.
- Primary browser as Chrome - tested.
- After completion of Game, user data is cleared and new Game starts.
- Responsive, Media queries not added.
- Both 2 player and Vs Computer mode built.
- Have Written tests to ensure Game component rendering and Winner checking core logic.
- Would like to write Cypress TC for e2e testing. Not written yet.
- Player name is mandatory/required. validation added.
- Cannot dismiss modal form for input, with keyboard or user click, as user inputs are mandatory for Game State.
To get a local copy up and running follow these simple steps.
- NodeJS - NPM/yarn
- React - Bootstrap
- HTML, CSS, Js
-
Clone the repo
git clone https://github.com/vijayanandof/Tic-Tac-Toe-React.git
-
Install NPM packages
npm install
-
In the project directory, you can run:
Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser. -
Refer tic-tac-toe-app\README.md further.
Distributed under the MIT License. See LICENSE
for more information.
vijayanand - @vijayanandof Project Link: https://github.com/vijayanandof/Tic-Tac-Toe-React