daemond/brain-games

Mind exercises

v0.7.0 2019-09-03 15:01 UTC

This package is auto-updated.

Last update: 2024-05-12 19:48:10 UTC


README

Brain-games is a simple set of terminal mini-games.

68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f65313064353166373666363866376238393961392f6d61696e7461696e6162696c697479

Build Status

Instalation

Use following command to install brain-games:

composer global require daemond/brain-games

Usage

Brain Even Game

Answer "yes" if the number is even, otherwise answer "no".

brain-even

https://asciinema.org/a/R5yIJFBGzuScX6y0Tu4w3GFIU

Brain Calc Game

What is the result of the expression?

brain-calc

https://asciinema.org/a/ZiWhVRP70ZuKPoyeGQF62IvLp

Brain GCD Game

Find the greatest common divisor of given numbers.

brain-gcd

https://asciinema.org/a/OYa3wmTvBahDMG7Gx4lH4OL7R

Brain Progression Game

What number is missing in the progression?

brain-progression

https://asciinema.org/a/t1hIAMrvFpDgXO9ep4GMSs6sI

Brain Prime Game

Answer "yes" if given number is prime. Otherwise answer "no".

brain-prime

https://asciinema.org/a/DXgQ8fbVjOcx2ujUjLsBHJ9TQ