mariya/brain-games
Composer 安装命令:
composer create-project mariya/brain-games
包简介
The first PHP project, a set of console mini-games
README 文档
README
The first PHP project, a set of console mini-games
Sample gameplay
$ 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!
Installation
Via Composer
$ composer require mariya/brain-games
Running games
Parity check:
$ brain-even
Calculator:
$ brain-calc
Greatest common divisor:
$ brain-gcd
Arithmetic progression:
$ brain-progression
Simple number:
$ brain-prime
统计信息
- 总下载量: 24
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2019-03-11