Brain games is a small project that contains several games. The project contains the following games:
- brain-games
- brain-even
- brain-calc
- brain-gcd
- brain-progression
- brain-prime
Brain games can be installed globally or locally, with Composer package manager:
composer global require fidilly/brain-games
example:
composer create-project fidilly/brain-games
example:
If the game is installed globally:
composer global remove fidilly/brain-games
example:
If the game is installed locally, then delete the brain-games directory.
To start the game, enter the name of the game in the terminal.
Says Hello to user.
example:
You must answer an even number or not.
example:
You need to calculate the mathematical expression shown on the screen.
example:
You need to find the greatest common divisor.
example:
You need to find missing number from progression.
example:
You need to check is the number simple or not.
example: