Skip to content

Smol-An/php-project-45

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hexlet tests and linter status:

Actions Status Maintainability

About the project

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 it again.

Games:
* Brain-even: definition of an even number.
* Brain-calc: arithmetic expressions to be evaluated.
* Brain-gcd: finding the Greatest Common Divisor.
* Brain-progression: search for missing numbers in a sequence of numbers.
* Brain-prime: definition of a prime number.

Requirements

  • PHP >= 8.1
  • Composer >= 2.5.5
  • GNU Make >= 4.3

Setup

$ git clone https://github.com/Smol-An/php-project-45.git
$ cd php-project-45
$ make install

Game show

Brain-even game

make brain-even

asciicast

Brain-calc game

make brain-calc

asciicast

Brain-gcd game

make brain-gcd

asciicast

Brain-progression game

make brain-progression

asciicast

Brain-prime game

make brain-prime

asciicast

About

Brain Games - console math games

Resources

Stars

Watchers

Forks

Packages

No packages published