tolyod/project-lvl1-s470

Apoloz brain-games

dev-master 2021-04-29 19:37 UTC

README

this is a PHP project that implements simple games that run from the command line.

Maintainability Build Status

Install

to install you need to use composer package manager

$ composer global require tolyod/project-lvl1-s470

brain-games

brain-even

the game asks you to answer the question, an even number or not.

brain-even

brain-calc

the game asks you to calculate the mathematical expression shown on the screen.

brain-calc

brain-gcd

the game displays two numbers and asks to calculate the greatest common divisor

brain-gcd

brain-progression

the game displays a sequence of arithmetic progression and asks to enter the missing number

brain-progression

brain-prime

the game shows a random number and ask to answer is a Prime number or not

brain-prime

why

for practice, training and study

thanks

to Hexlet community, Kirill Mokevnin, and mentor from Hexlet for directing me to the right direction.