- Math Skills Kids' Game is a game that allows users to test their arithmetic knowledge of addition. It generates a random number of stars and random numbers between
0-9
. - Users will be allowed to pick/select any random number/numbers between
0-9
that is equal to the number of stars. - If the selected number/numbers is/are equal to the number of generated stars, it accepted the answer and marks the numbers as used.
- Once a number has been marked as used, it is disabled and users will not be able to select that number again
- Users have 5 redraws i.e if the number of generated stars, in the available number has been used and no other combination of numbers is not equal to the number of generated stars.
React
: A JavaScript library for building user interfaceNodeJS
: An open-source, cross-platform JavaScript run-time environment for executing JavaScript code server-side.NPM
: A package manager for JavascripBabel
: Babel is used to transpile es6 down to es5.Jest
: Jest is a testing platform for client-side JavaScript applications and React applications specifically.
- Click here to access the hosted application or follow the
For local installation & testing
guids to run the application locally
- If you don't have NodeJS already installed go here and install it.
- Clone this repository by running
git clone https://github.com/chibuezeayogu/React-Math-Skills-Game.git
on your terminal.- Navigate into the cloned project directory.
- For example, if you cloned the project into the desktop directory, then run cd desktop which takes you into the desktop, then
cd React-Math-Skills-Game
to enter the project directory. - Once in the project directory, install all project dependencies by running
npm install
. - Run the command
npm run start:dev
to start the application. - To run tests, run the command
npm test
.
- This project is authored by Ayogu Chibueze Nelson, and is licensed for use, distribution and modification under the
MIT
license