tazya / brain-games
This is Brain Games for a command line
Installs: 21
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 0
Open Issues: 0
Type:project
Requires
- wp-cli/php-cli-tools: ^0.11.11
Requires (Dev)
- squizlabs/php_codesniffer: ^3.0@dev
README
Brain Games
This console-based game included simple logic and arithmetic mini-games
Install
Composer requires to install this game
Command for terminal:
composer global require tazya/brain-games
PHP version > 7.1.0 is requred
Brain Even Game
Answer "yes" if the number is even, othervise answer "no".
Use brain-even
command to start
Calc Game
What is the result of the expression?
Use brain-calc
command to start
GCD Game
Find the greatest common divisor of given numbers.
Use brain-gcd
command to start
Progression Game
What number is missing in the progression?
Use brain-progression
command to start
Prime Game
Answer "yes" if given number is prime. Otherwise answer "no".
Use brain-prime
command to start