sasha/brain-games

hexlet brain-game

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

This package is auto-updated.

Last update: 2025-06-16 06:06:13 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