野生驯鹿/脑力游戏

此包最新版本(0.8.0)没有提供许可证信息。

脑力游戏 - 为你的大脑而设计的游戏

0.8.0 2019-04-06 13:00 UTC

This package is auto-updated.

Last update: 2024-09-13 05:09:43 UTC


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

要运行游戏,请在控制台输入相应的命令。

游戏列表及其启动命令

  1. 偶数检查(brain-even
  2. 计算器(brain-calc
  3. 最大公约数(brain-gcd
  4. 等差数列(brain-progression
  5. 是质数吗?(brain-prime
asciinema 步骤 1
asciinema 步骤 2
asciinema 步骤 4
asciinema 步骤 5
asciinema 步骤 6
asciinema 步骤 7
asciinema 步骤 8

Maintainability Test Coverage Build Status