bulat/brain-games

There is no license information available for the latest version (1.6.2) of this package.

One week learning project on PHP with Hexlet. Making a set of small console-type games.

1.6.2 2019-04-07 23:27 UTC

This package is auto-updated.

Last update: 2024-04-08 14:54:42 UTC


README

Maintainability Test Coverage Build Status

Brain-Games

Description

A set of small console-type games.

Installation

Using Composer, you can install brain-games system-wide with the following command:

composer global require bulat/brain-games

asciicast

Games and commands to start them in bash

Even

Answer "yes" if number even otherwise answer "no".

brain-even

asciicast

Calc

Give the result of the expression.

brain-calc

asciicast

Gcd

Find the greatest common divisor of given numbers.

brain-gcd

asciicast

Progression

Give number that is missing in the progression.

brain-progression

asciicast

Prime

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

brain-prime

asciicast