野生驯鹿 / 脑力游戏
此包最新版本(0.8.0)没有提供许可证信息。
脑力游戏 - 为你的大脑而设计的游戏
0.8.0
2019-04-06 13:00 UTC
Requires
- wp-cli/php-cli-tools: ^0.11.11
Requires (Dev)
README
BrainGames 是一套从控制台启动的小游戏集合。
游戏流程示例
$ brain-calc
Welcome to the Brain Game!
What is the result of the expression?
May i have your name?: Zeus
Hello, Zeus!
Question: 8 - 2: 6
Your answer: 6
Correct!
Question: 6 * 7: 42
Your answer: 42
Correct!
Question: 3 * 2: 6
Your answer: 6
Correct!
Congratulations,Zeus!
要安装,请在控制台输入 composer global create-project wildreindeer/brain-games
要运行游戏,请在控制台输入相应的命令。
游戏列表及其启动命令
- 偶数检查(
brain-even
) - 计算器(
brain-calc
) - 最大公约数(
brain-gcd
) - 等差数列(
brain-progression
) - 是质数吗?(
brain-prime
)