mariya /
此包的最新版本(v1.0.0)没有提供许可证信息。
第一个PHP项目,一套控制台迷你游戏
v1.0.0
2019-06-18 18:15 UTC
Requires
- wp-cli/php-cli-tools: ^0.11.11
Requires (Dev)
This package is auto-updated.
Last update: 2024-09-19 06:52:49 UTC
README
第一个PHP项目,一套控制台迷你游戏
示例游戏玩法
$ brain-progression
Welcome to the Brain Game!
What number is missing in this progression?
May I have your name? Roman
Hello, Roman!
Question: 14 .. 18 20 22 24 26 28
Your answer: 16
Correct!
Question: 5 6 7 8 9 .. 11 12
Your answer: 10
Correct!
Question: 12 15 18 21 .. 27 30 33
Your answer: 24
Correct!
Congratulations, Roman!
安装
通过Composer
$ composer require mariya/brain-games
运行游戏
偶校验
$ brain-even
计算器
$ brain-calc
最大公约数
$ brain-gcd
算术级数
$ brain-progression
简单数字
$ brain-prime