Skip to content

Kolalexx/Brain-Games

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hexlet tests and linter status:

Actions Status

Maintainability

Description

Brain Games is a set of five console games built on the principle of popular mobile applications for brain pumping. Each game asks questions that need to be answered correctly. After three correct answers, it is considered that the game is over. Incorrect answers end the game and offer to go through it again.

Games:

Definition of an even number. Calculator. Arithmetic expressions that need to be calculated. Determination of the greatest common divisor. Progression. Search for missing numbers in a sequence of numbers. Definition of a prime number.

Addons

Use http://psysh.org/

Setup

$ git clone https://github.com/Kolalexx/php-project-45.git

$ cd php-project-45

$ make install

Run tests

$ make lint

$ make validate

Games

$ make brain-games

$ make brain-even

$ make brain-calc

$ make brain-gcd

$ make brain-progression

$ make brain-prime

Asciinema

brain-even:

asciicast

brain-calc:

asciicast

brain-gcd:

asciicast

brain-progression:

asciicast

brain-prime:

asciicast

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published