composer global require mvaload/brain-games
In each game, 3 questions are asked, it is necessary to correctly answer 3 questions,
to win the game. The first wrong answer ends the game.
- brain-even - specify if the number is even or not.
- brain-calc - find the result of simple math expression
- brain-gcd - find the greatest common divisor of two given numbers
- brain-balance - balance the number (the difference of two digits in the given number should not equal more than one)
- brain-progression - find a missed number in the arithmetic progression
- brain-prime - specify if the number is prime or not