dev-main 2022-07-04 10:47 UTC

This package is auto-updated.

Last update: 2024-04-04 14:28:32 UTC


README

Description: https://ru.hexlet.io/professions/php/projects/45

Hexlet tests and linter status:

Actions Status 68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f63353165336562386563373362363436653539352f6d61696e7461696e6162696c697479

How To Install

composer global require specialsnipe/code:main-dev@dev

How To Run A Game

run brain-game and then type game name

Games List With Description

  1. calc
    Find the result of the expression.
  2. even
    Answer "yes" if given number is even, otherwise answer "no".
  3. gcd
    Find the greatest common divisor of given numbers.
  4. prime
    Answer "yes" if given number is prime, otherwise answer "no".
  5. progression
    Find number that is missing in the progression.

brain-even game:
asciicast
brain-calc game:
asciicast
brain-gcd game:
asciicast
brain-progression game:
asciicast
brain-prime game: asciicast