wildreindeer / brain-games
brain games - the game for your mind
Installs: 28
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 1
Open Issues: 0
Type:project
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
)