“Brain Games” is a set of five console games based on the principle of popular mobile apps for brain training. Each game asks questions that must be answered correctly. After three correct answers, the game is considered completed. Incorrect answers end the game and prompt the player to start over.Games:
- Calculator. Arithmetic expressions that need to be calculated.
- Progression. Search for missing numbers in a sequence of numbers.
- Determining an even number.
- Determining the greatest common divisor.
- Determining a prime number.
- Linux, Macos, WSL
- PHP >=8.2
- Make
- Git
Setup SSH before clone:
git clone git@github.com:flythq/php-project-45.git
cd php-project-45
make installCalculator
make brain-calcProgression
make brain-progressionDetermining an even number
make brain-evenDetermining the greatest common divisor
make brain-gcnDetermining a prime number
make brain-prime