konstantin/hex_project01

There is no license information available for the latest version (v1.1.2) of this package.

Hexlet Project01 - Brain Games!

v1.1.2 2019-07-25 10:46 UTC

README

Build Status

Maintainability

Description

Brain-Games - это набор мини-игр, запускаемых из консоли. Данная реализация игр велась в рамках курсов по программированию и выполнения проекта на обучающем ресурсе Hexlet.

List of games

  • 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-prime - answer "yes" if given number is prime. Otherwise answer "no".
  • brain-progression - what number is missing in the progression?

Install

$ composer global require konstantin/hex_project01
add ~/.composer/vendor/bin to your PATH

Run

$ brain-even
$ brain-calc
$ brain-gcd
$ brain-prime
$ brain-progression

Example:

68747470733a2f2f61736369696e656d612e6f72672f612f6945306e316c4141566d4e447a66754a7948433669667162612e737667

Project implementation steps:

step 1: https://asciinema.org/a/1M1ynsLYQz6rT6o34K5FPEqud

step 2: https://asciinema.org/a/MT2UFHZ4MXbFqgx0nX6ixmAcB

step 4: https://asciinema.org/a/SIWNDwKA2cus7SZ1mbbFa6VVe

step 5: https://asciinema.org/a/CbSw7d01Rqk2CurO4ASxfAv7Z

step 6: https://asciinema.org/a/RIdEVS5nJZZ3AIxgTTh5fdHhB

step 7: https://asciinema.org/a/ZtETT46HT53EGp9mvXjcSokOB

step 8: https://asciinema.org/a/iE0n1lAAVmNDzfuJyHC6ifqba