This is a PHP study project (Hexlet.io PHP online couse)
A set of primitive mini-games launched via console.
$ composer global require rualt/brain-games
You can choose of 5 different games. To win you have to give 3 correct answers in a row.
List of games
$ brain-calc
Find result of a random expression.
$ brain-even
Find out if a random number is even and write 'yes' or 'no'.
$ brain-gcd
Find a GCD of two random numbers.
$ brain-prime
Find out if a random number is prime and write 'yes' or 'no'.
$ brain-progression
Find a missing number of a random progression.