tazya/brain-games

This package is abandoned and no longer maintained. No replacement package was suggested.

This is Brain Games for a command line

0.1.3 2020-03-23 06:46 UTC

This package is auto-updated.

Last update: 2023-03-23 13:22:34 UTC


README

Build Status Code Climate Issue Count

Brain Games

This console-based game included simple logic and arithmetic mini-games

Install

Composer requires to install this game
Command for terminal:

composer global require tazya/brain-games

PHP version > 7.1.0 is requred

Brain Even Game

Answer "yes" if the number is even, othervise answer "no".
Use brain-even command to start
asciicast

Calc Game

What is the result of the expression?
Use brain-calc command to start
asciicast

GCD Game

Find the greatest common divisor of given numbers.
Use brain-gcd command to start
asciicast

Progression Game

What number is missing in the progression?
Use brain-progression command to start
asciicast

Prime Game

Answer "yes" if given number is prime. Otherwise answer "no".
Use brain-prime command to start
asciicast