free-donut/hexlet

my first project

Installs: 23

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 1

Forks: 0

Type:project

pkg:composer/free-donut/hexlet

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

This package is auto-updated.

Last update: 2025-09-28 21:38:28 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