wildreindeer / brain-games
There is no license information available for the latest version (0.8.0) of this package.
brain games - the game for your mind
Package info
github.com/WildReindeer/project-lvl1-s470
Type:project
pkg:composer/wildreindeer/brain-games
0.8.0
2019-04-06 13:00 UTC
Requires
- wp-cli/php-cli-tools: ^0.11.11
Requires (Dev)
README
BrainGames - это набор мини-игр, запускаемых из консоли.
Пример игрового процесса:
$ brain-calc
Welcome to the Brain Game!
What is the result of the expression?
May i have your name?: Zeus
Hello, Zeus!
Question: 8 - 2: 6
Your answer: 6
Correct!
Question: 6 * 7: 42
Your answer: 42
Correct!
Question: 3 * 2: 6
Your answer: 6
Correct!
Congratulations,Zeus!
Для установки наберите в консоли composer global create-project wildreindeer/brain-games
Для запуска игры наберите соответствующую команду в консоль.
Список игр c командами для их запуска:
- Проверка на четность.(
brain-even) - Калькулятор.(
brain-calc) - Наибольший общий делитель.(
brain-gcd) - Арифметическая прогрессия.(
brain-progression) - Простое ли число?(
brain-prime)