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

0.8.0 2019-04-06 13:00 UTC

This package is auto-updated.

Last update: 2024-05-13 04:18:39 UTC


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 командами для их запуска:

  1. Проверка на четность.(brain-even)
  2. Калькулятор.(brain-calc)
  3. Наибольший общий делитель.(brain-gcd)
  4. Арифметическая прогрессия.(brain-progression)
  5. Простое ли число?(brain-prime)
asciinema step 1
asciinema step 2
asciinema step 4
asciinema step 5
asciinema step 6
asciinema step 7
asciinema step 8

Maintainability Test Coverage Build Status