daemond / brain-games
心智锻炼
v0.7.0
2019-09-03 15:01 UTC
Requires
- wp-cli/php-cli-tools: ^0.11.11
Requires (Dev)
README
Brain-games 是一套简单的终端小游戏。
安装
使用以下命令安装 brain-games
composer global require daemond/brain-games
用法
Brain Even Game
如果数字是偶数,请回答 "yes",否则回答 "no"。
brain-even
https://asciinema.org/a/R5yIJFBGzuScX6y0Tu4w3GFIU
Brain Calc Game
表达式的结果是什么?
brain-calc
https://asciinema.org/a/ZiWhVRP70ZuKPoyeGQF62IvLp
Brain GCD Game
找出给定数字的最大公约数。
brain-gcd
https://asciinema.org/a/OYa3wmTvBahDMG7Gx4lH4OL7R
Brain Progression Game
在序列中缺少哪个数字?
brain-progression
https://asciinema.org/a/t1hIAMrvFpDgXO9ep4GMSs6sI
Brain Prime Game
如果给定数字是素数,请回答 "yes",否则回答 "no"。
brain-prime