entorus/first

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

0.3 2020-03-17 01:18 UTC

This package is not auto-updated.

Last update: 2024-09-24 23:26:18 UTC


README

Github Actions Status

描述

“智力游戏”是一套包含五个控制台游戏,按照流行的移动大脑锻炼应用模式构建。每个游戏都提出问题,需要给出正确答案。连续三次正确回答后,游戏算作通过。错误答案将结束游戏,并建议重新开始。

安装和运行

#Установка
composer global require entorus/first

#Запуск игры
brain-progression

游戏示例

$ 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!

Brain Even

确定偶数。

asciicast

Brain Calc

计算器。需要计算的表达式。

asciicast

Brain Gcd

确定最大公约数。

asciicast

Brain Progression

数列。在数列中查找缺失的数字。

asciicast

Brain Prime

确定素数。

asciicast