A set of command line math games:
- brain-games - you should answer if the number is even or not
- brain-calc - you should calculate the result of math expression
- brain-gcd - you should calculate the greatest common divisor for given numbers
- brain-progression - you should find a missed element from the arithmetic progression
- brain-prime - you should answer if the number is prime or not
composer global require ticktick/hexlet-php-project-1
Make sure ~/.composer/vendor/bin is in PATH, if you want to run games globally
export PATH="$PATH:$HOME/.composer/vendor/bin"
$ brain-games
$ brain-calc
$ brain-gcd
$ brain-progression
$ brain-prime