dekabruga / php-project-lvl1
Brain games
Requires
- wp-cli/php-cli-tools: ^0.11.11
Requires (Dev)
README
Brain Games - collection of command line games
How to install
Installation with composer
Enter the command composer global require dekabruga/php-project-lvl1
to install Brain-games
Brain-even
In the game you need to answer whether the number is even or not
Enter the command brain-even
to start the game
Brain-calc
In this game you need to calculate result of expression
Enter the command brain-calc
to start the game
Brain-gcd
In this game you need to find greatest common divisor of two numbers
Enter the command brain-gcd
to start the game
Brain-progression
In this game you need to find the missing element of arithmetic progression
Enter the command brain-progression
to start the game
Brain-prime
In the game you need to answer whether a prime number is or not
Enter the command brain-prime
to start the game