lubaro / brain-games
A set of mini-games for CLI. First level project on hexlet.io.
Installs: 33
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
Type:project
Requires
Requires (Dev)
README
The set of mini-console games. To win, you need to give three correct answers in a row. If you gave the wrong answer, you lost.
List of games:
brain-even
- Determine if the number is even.brain-calc
- Calculate expression result.brain-gcd
- Find the greatest common divisor of two numbers.brain-progression
- Determine what number is missing.brain-prime
- Determine if the number is prime.
Installation:
To install this package run this command (Composer required):
composer global require lubaro/brain-games
After that you can start game by running the command: brain-[game_name]