This repository contains the code for the Game App
This is one player game.
There is a grid of boxes (16). Player can select the box by click on it. If number of selected boxes exceeds more than the limit (2), first item that was selected will toggle to initial state
- Initial state of box is blue.
- Selected box turns red.
- Grid Size
- Selected Boxes Limit
The following tools are required to build the app:
- Node.js
- Yarn (
npm install --global yarn)
Once you've cloned this repository, run the following commands to install the project dependencies:
cd game-app # assuming you've cloned this repo as game-app
yarn install
yarn startTo play the game goto http://localhost:3000