All mini-games ask you 3 questions. Your challenge is to answer all questions correctly.
- brain-even - specify if the number is even or not, using only yes or no.
- brain-calc - find a solution to a mathematical expression, like 2 * 9
- brain-gcd - find the greatest common divisor of two numbers, like (55, 40) = 5
- brain-progression - You are given an arithmetic progression, for example, 8 12 16 20 .. 28 32 36 40 44. You must find the missing number of the sequence.
- brain-prime - specify if the number is prime or not, using only yes or no.
1) composer global require li0n0k/brain-games
2) Add in your PATH - $HOME/.composer/vendor/bin
3) Run for example brain-even
4) Enjoy!