This is a package with five games that you can run and play in the console.
Before gaming you need:
# Clone this repository.
$ git clone https://github.com/dmitry-makovsky/brain-games.git
# Go to the repository.
$ cd brain-games
# Install dependencies.
$ make install
# Build package
$ make build
# If you want install games globaly - link this package.
$ npm link
# Then run the chosen game
The player must answer if this number is even or not
Run:
make brain-even
The player must solve arithmetic expression
Run:
make brain-calc
The player must find the largest common divisor of two numbers
Run:
make brain-gcd
The player must find the missing number in the progression.
Run:
make brain-progression
The player must answer if this number is prime or not
Run:
make brain-prime