brain-games-bp

2.5.10 • Public • Published

Brain-games

Maintainability Build Status

Description

This is CLI mini games. Set consist of 6 games:

  1. brain-even
  2. brain-calc
  3. brain-gcd
  4. brain-balance
  5. brain-progression
  6. brain-prime

Requirements

Installed Node.JS

Installation

npm i -g brain-games-bp

Play

In terminal you have to type name of one of given game. For example:

$ brain-prime

Game's rules

Every game has 3 rounds. If you give right answer on any offered question it lets you go to the next round otherwise game over, which reports message with correct answer.

Brain even

Answer "yes" if number even otherwise answer "no".

start the game:

$ brain-even

Brain calc

Calculate the result of the expression.

start the game:

$ brain-calc

Brain gcd

Find the greatest common divisor of given numbers.

start the game:

$ brain-gcd

Brain progression

Calculate the missing number of given progression.

start the game:

$ brain-progression

Brain prime

Answer "yes" if number is prime otherwise answer "no".

start the game:

$ brain-prime

Demo

asciicast

Readme

Keywords

Package Sidebar

Install

npm i brain-games-bp

Weekly Downloads

22

Version

2.5.10

License

ISC

Unpacked Size

39.9 kB

Total Files

20

Last publish

Collaborators

  • biryukovpyu