gudzii-ov/brain-games

A set of simple math games

v4.0.2 2019-08-07 16:38 UTC

This package is auto-updated.

Last update: 2024-04-08 03:49:27 UTC


README

Maintainability Build Status

Description

Brain games is a set of simple math console games.

Contains the following games:

  1. brain-even - answer is proposed number even or not
  2. brain-calc - calculate proposed expression
  3. brain-gcd - find greater common divisor of two proposed umbers
  4. brain-progression - find hidden number in proposed progression
  5. brain-prime - answer is proposed number prime or not

Installation and playing games

Install games and execute prefered game in console as in asciinema examples.

Asciinemas

Installation

composer global require gudzii-ov/brain-games

asciicast

Playing "is even" game

brain-even

asciicast

Playing "calc" game

brain-calc

asciicast

Playing "greater common divisor" game

brain-gcd

asciicast

Playing "arithmetic progression" game

brain-progression

asciicast

Playing "is prime" game

brain-prime

asciicast