barsukov/php-project-lvl1

php learning package

dev-master 2021-01-14 17:59 UTC

This package is auto-updated.

Last update: 2024-04-15 01:00:44 UTC


README

php-project-lvl1

68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f39613266643665383038653133323036383734342f6d61696e7461696e6162696c697479 Build Status

About

I am learning PHP at https://ru.hexlet.io/

And this is my very first project!

It contains brain games: calc, even, GCD, prime, progression.

3 correct answers in game and you win! Good luck!

Install

To install this brain-games type

$ composer global require barsukov/php-project-lvl1:dev-master

in a command shell

asciicast

Make sure that your $PATH variable contains Composer bin directory

Even game

After installation type

$ brain-even

in a command shell.

asciicast

You need to answer is number even or not.

Calculator game

After installation type

$ brain-calc

in a command shell.

asciicast

You need to solve the expressions.

Global common divisor game

After installation type

$ brain-gcd

in a command shell.

asciicast

You need to find global common divisor of two numbers.

Prime game

After installation type

$ brain-prime

in a command shell.

asciicast

You need to answer is number prime or not.

Progression game

After installation type

$ brain-progression

in a command shell.

asciicast

You need to find missed element of progression.