sasha/brain-games

hexlet brain-game

Maintainers

Package info

github.com/molych/brain-games

pkg:composer/sasha/brain-games

Statistics

Installs: 11

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

v1.1 2020-10-15 13:41 UTC

This package is auto-updated.

Last update: 2026-03-16 08:04:48 UTC


README


Install with composer

composer global require sasha/brain-games

The project contains 5 games

  • brain-even - Answer 'yes' if the number is even, otherwise answer 'no'
  • brain-calc - What is the result of the expression?
  • brain-gcd - What number is missing in the progression?
  • brain-progression - What number is missing in the progression?
  • brain-prime - Answer 'yes' if given number is prime, otherwise answer 'no'

You can run a set of games in the command line (brain-games) or each game separately

brain-even

brain-calc

brain-gcd

brain-progression

brain-prime