foreachq/brain-games
Composer 安装命令:
composer create-project foreachq/brain-games
包简介
Brain games project
README 文档
README
Brain Games
«Brain Games» — a set of five console games based on popular mobile brain training apps.
Description
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:
- Calculator. Arithmetic expressions to be evaluated.
- Progression. Search for missing numbers in a sequence of numbers.
- Definition of an even number.
- Determining the greatest common divisor.
- Definition of a prime number.
Requirements
- php 7.4
- composer 2.*
Installation
- Download package
composer create-project foreachq/brain-games
- Install dependencies
make install
Usage
-
Choose 1 game from list:
- Definition of an even number (brain-even)
- Calculator (brain-calc)
- Determining the greatest common divisor (brain-gcd)
- Progression (brain-progression)
- Definition of a prime number (brain-prime)
-
Run make command:
make <game-name>
Asciinemas of gameplay
统计信息
- 总下载量: 12
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: proprietary
- 更新时间: 2022-01-28