tolive/brain-games

First project on Hexlet, Brain Games

v0.9.4 2018-07-05 17:27 UTC

README

Brain Games

Series of brain games, including:

  • Even - game about guessing if number is even or not
  • Calc - game generate expression and user must evaluate it
  • GCD - game about guessing common divisor of two numbers
  • Balance - game about flatten all digits in given number
  • Progression - game about guessing hidden number in the progression list
  • Prime - game about guessing if given number is prime

User must have 3 correct answers in a line to win. First wrong answer ends the game.

Install

composer require "tolive/brain-games"

Usage

bin/brain-even
bin/brain-calc
bin/brain-gdc
bin/brain-balance
bin/brain-progression
bin/brain-prime

Gameplay

Requirements

Author

Sergey Grabak

License

Brain Games is licensed under the MIT License - see the LICENSE file for details.