This is my first PHP project on Hexlet.
5 console games "Brain games":
Brain-even (the player needs to answer an even number or not),
Brain-calc (the player needs to calculate the value of the expression),
Brain-gcd (the player needs to find the largest common divisor),
Brain-progression (the player needs to find the missing number in the arithmetic progression),
Brain-prime (the player needs to answer a prime number or not).
All games consist of 3 rounds, if the player answers incorrectly, the game is interrupted with the player losing, in case of 3 correct answers, the player wins.
Это мой первый PHP проект на Хекслете.
5 консольных игр "Brain games":
Brain-even (игроку необходимо ответить четное число или нет),
Brain-calc (игроку необходимо вычислить значение выражения),
Brain-gcd (игроку необходимо найти наибольший общий делитель),
Brain-progression (игроку необходимо найти пропущенное число в арифметической прогрессии),
Brain-prime (игроку необходимо ответить простое число или нет).
Все игры состоят из 3-х раундов, если игрок отвечает неправильно - игра прерывается с проигрышем игрока, в случае 3 правильных ответов игрок выиграл.
To start the game, enter 'make "game name"' in the console, for example: make brain-calc.
Для запуска игры введите в консоли 'make "имя игры"', например: make brain-calc.
- Linux, WSL
- PHP >= 8.1.2
- Composer
- Make
- Git
git clone https://github.com/RasmuS2024/php-project-45.git
cd php-project-45
make install