Skip to content

algins/php-project-lvl1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

php-project-lvl1

A set of five console games, built on the principle of popular mobile brain training apps

Actions Status Maintainability

Hexlet tests and linter status:

Actions Status

Setup:

$ git clone https://github.com/algins/php-project-lvl1.git
$ cd php-project-lvl1
$ make install

Usage

Even

Random number is shown. Player needs to answer "yes" if the number is even, or "no" otherwise.

Run game:

$ brain-even

Demo

Calc

Random mathematical expression is shown. Player needs to calculate and answer the correct result.

Run game:

$ brain-calc

Demo

Gcd

Two random numbers are shown. Player needs to calculate and answer the GCD of these numbers.

Run game:

$ brain-gcd

Demo

Progression

List of random numbers that forms arithmetical progression is shown. One number is replaced with dots. Player needs to determine and answer this number.

Run game:

$ brain-progression

Demo

Prime

Random number is shown. Player needs to answer "yes" if the number is prime, or "no" otherwise.

Run game:

$ brain-prime

Demo

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published