gudzii-ov/brain-games

A set of simple math games

Installs: 19

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 0

Open Issues: 0

Type:project

pkg:composer/gudzii-ov/brain-games

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

This package is auto-updated.

Last update: 2026-01-08 07:44:29 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