Screen 1 | Screen 2 |
---|---|
- Simply run
yarn install
to install node_modules packages - Simply run
yarn start
to start the game locally on http://localhost:3000
- Running tests
yarn test
- Running tests with coverage
yarn test:coverage
- If you wish to deploy the code simply run
yarn build
and upload the build folder content to your web host
-
To start the game key-in your Alias/Name, the game will not start with an empty name input and show input warning with shake effect.
-
After Starting Game you have 30 Seconds.
- Only Click on the Foxiii to get 5+ points,
- If you click on any other animals you may get [-1,-2,-3] points depend on the point assign to the wrong animal.
-
The favourable possibility of showing Foxiii is 50% - 50% which will generated randomly.
- There are 10 Character to be chosen from randomly in every iteration every 500 milliseconds.
- There are 9 Placeholder to be chosen from randomly in every iteration every 500 milliseconds
-
After the 30 second you will be redirect to Home Screen with Showing the ScoreBoard.
- You can try again just to beat your own Score. "Have Fun"
-
There are few test cases written in Jest & Enzyme to cover the journey including.
- Starting, check for valid name
- clicking on animals check the points changes,...