Description: https://ru.hexlet.io/professions/php/projects/45
composer global require specialsnipe/code:main-dev@dev
run brain-game
and then type game name
- calc
Find the result of the expression. - even
Answer "yes" if given number is even, otherwise answer "no". - gcd
Find the greatest common divisor of given numbers. - prime
Answer "yes" if given number is prime, otherwise answer "no". - progression
Find number that is missing in the progression.
brain-even game:
brain-calc game:
brain-gcd game:
brain-progression game:
brain-prime game: