barsukov / php-project-lvl1
php learning package
Requires
- wp-cli/php-cli-tools: ^0.11.11
Requires (Dev)
- squizlabs/php_codesniffer: 3.5.3
This package is auto-updated.
Last update: 2024-04-15 01:00:44 UTC
README
php-project-lvl1
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
Make sure that your $PATH variable contains Composer bin directory
Even game
After installation type
$ brain-even
in a command shell.
You need to answer is number even or not.
Calculator game
After installation type
$ brain-calc
in a command shell.
You need to solve the expressions.
Global common divisor game
After installation type
$ brain-gcd
in a command shell.
You need to find global common divisor of two numbers.
Prime game
After installation type
$ brain-prime
in a command shell.
You need to answer is number prime or not.
Progression game
After installation type
$ brain-progression
in a command shell.
You need to find missed element of progression.