Skip to content

AlexeyGorc/php-project-45

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hexlet tests and linter status:

Actions Status Maintainability

Description:

Brain Games is a set of five console games based on popular mobile brain training apps. Each game asks questions that need to be answered correctly. After three correct answers, the game is considered to be completed. Wrong answers end the game and offer to play again.

Games:

  1. Definition of an even number.
  2. Calculator. Arithmetic expressions to be evaluated.
  3. Finding the Greatest Common Divisor.
  4. Progression. Search for missing numbers in a sequence of numbers.
  5. Definition of a prime number.

Requirements:

  • Linux/MacOS
  • PHP version 8+
  • Composer
  • Make

Installation:

git clone git@github.com:AlexeyGorc/php-project-45.git
cd php-project-45
make install

Launching games:

make brain-even

make brain-calc

make brain-gcd

make brain-progression

make brain-prime

Examples:

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

 
 
 

Contributors