free-donut/hexlet

my first project

v2.2.5 2019-05-28 07:56 UTC

This package is auto-updated.

Last update: 2024-04-28 18:51:26 UTC


README

Maintainability

Build Status

Description

Brain games is a set of mini-games launched from the console.

  • brain-even (Answer "yes" if number even otherwise answer "no".)
  • brain-calc (What is the result of the expression?)
  • brain-gcd (Find the greatest common divisor of given numbers.)
  • brain-progression (What number is missing in this progression?)
  • brain-prime (Answer "yes" if number prime otherwise answer "no".)

Installation

$ composer global require free-donut/hexlet

Launch and examples

Even

$ brain-even

asciicast

Calc

$ brain-calc

asciicast

GSD

$ brain-gcd

asciicast

Progression

$ brain-progression

asciicast

Prime

$ brain-prime

asciicast