1hbraingames 中文文档教程

发布于 5年前 浏览 20 项目主页 更新于 3年前

Brain-Games JS:

这是一组从控制台启动的逻辑迷你游戏。 游戏列表: 游戏:《计算器》 游戏:《奇偶校验》 游戏《是素数吗? 游戏“算术级数”。

Badges

可维护性

构建状态

How to install:

sudo npm install -g 1hbraingames

Description:

  • brain-even - the user is shown a random number. And he needs to answer "yes", if the number is even, or "no" - if it is odd.
  • brain-calc - the user is shown a random mathematical expression, for example 35 + 16, which needs to be calculated and the *correct answer written down.
  • brain-gcd - the user is shown two random numbers, for example, 25 50. The user must calculate and enter the greatest common divider of these numbers.
  • brain-progression - the user is shown a series of numbers that form an arithmetic progression, one number is hidden. The user must define this number.
  • brain-prime - the user is shown a random number. And he needs to answer “yes”, if the given number is simple. Otherwise, answer "no."

Brain-Games JS:

This is a set of logical mini-games launched from the console. List of games: Game: "Calculator" Game: "Parity Check" Game "Is it a prime number?" Game "Arithmetic Progression.

Badges

Maintainability

Build Status

How to install:

sudo npm install -g 1hbraingames

Description:

  • brain-even - the user is shown a random number. And he needs to answer "yes", if the number is even, or "no" - if it is odd.
  • brain-calc - the user is shown a random mathematical expression, for example 35 + 16, which needs to be calculated and the *correct answer written down.
  • brain-gcd - the user is shown two random numbers, for example, 25 50. The user must calculate and enter the greatest common divider of these numbers.
  • brain-progression - the user is shown a series of numbers that form an arithmetic progression, one number is hidden. The user must define this number.
  • brain-prime - the user is shown a random number. And he needs to answer “yes”, if the given number is simple. Otherwise, answer "no."
    我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
    原文