tolyod / project-lvl1-s470
Apoloz brain-games
Requires
Requires (Dev)
This package is auto-updated.
Last update: 2025-03-07 22:49:23 UTC
README
this is a PHP project that implements simple games that run from the command line.
Install
to install you need to use composer package manager
$ composer global require tolyod/project-lvl1-s470
brain-even
the game asks you to answer the question, an even number or not.
brain-calc
the game asks you to calculate the mathematical expression shown on the screen.
brain-gcd
the game displays two numbers and asks to calculate the greatest common divisor
brain-progression
the game displays a sequence of arithmetic progression and asks to enter the missing number
brain-prime
the game shows a random number and ask to answer is a Prime number or not
why
for practice, training and study
thanks
to Hexlet community, Kirill Mokevnin, and mentor from Hexlet for directing me to the right direction.