toridnc / brain-games
Project brain games
dev-main
2024-02-01 19:13 UTC
Requires
- wp-cli/php-cli-tools: ^0.11.13
Requires (Dev)
This package is auto-updated.
Last update: 2024-04-30 19:35:43 UTC
README
Hexlet tests and linter status:
Игры разума
«Игры разума» — набор из пяти консольных игр, построенных по принципу популярных мобильных приложений для прокачки мозга. Каждая игра задает вопросы, на которые нужно дать правильные ответы. После трех правильных ответов считается, что игра пройдена. Неправильные ответы завершают игру и предлагают пройти ее заново.
Игры:
- "Проверка чётности"
- "Калькулятор"
- "Наибольший общий делитель"
- "Арифметическая прогрессия"
- "Простое число"
Brain Games Project
Mind Games is a set of five console games based on the principle of popular mobile brain—boosting applications. 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:
- "Parity check"
- "Calculator"
- "Greatest common divisor"
- "Arithmetic progression"
- "Prime number"
Install
git clone https://github.com/toridnc/php-project-lvl1.git
cd php-project-lvl1
make install
Игра: "Проверка чётности" / Game: "Parity check"
make brain-even
Игра: "Калькулятор" / Game: "Calculator"
make brain-calc
Игра: "Наибольший общий делитель" / Game: "Greatest common divisor"
make brain-gcd
Игра: "Арифметическая прогрессия" / Game: "Arithmetic progression"
make brain-progression
Игра: "Простое число" / Game: "Prime number"
make brain-prime