apoloz / brain-games
Apoloz brain-games
Installs: 6
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Type:project
pkg:composer/apoloz/brain-games
Requires
Requires (Dev)
This package is auto-updated.
Last update: 2025-10-07 23:34:13 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.