kit-brain-games

1.1.5 • Public • Published

Maintainability Issue Count Build Status NPM Version

Console logical mini-games kit-brain-games

  1. Even number

  2. Calculator

  3. Greatest common divisor

  4. Balance

  5. Arithmetic progression

  6. Prime number

Requirements

Node.JS >= 8

Installation

$ npm install -g kit-brain-games

You may also need to use sudo $ sudo npm install -g kit-brain-games

Even number

The user must answer whether given number is even or not?

Command to start the game: $ brain-even

Calculator

The user must enter the result of the mathematical expression.

Command to start the game: $ brain-calc

Greatest common divisor

The user must calculate and enter the greatest common divisor of two numbers

Command to start the game: $ brain-gcd

Balance

The user must balance the number. In this case, a balanced number is a number whose minimum digit differs from the maximum by no more than 1. The sum of the digits of the number should not change.

Command to start the game: $ brain-balance

Arithmetic progression

The user must enter the missing part of the sequence of numbers, which is an arithmetic progression.

Command to start the game: $ brain-progression

Prime number

The user must answer whether given number is prime or not?

Command to start the game: $ brain-prime

Package Sidebar

Install

npm i kit-brain-games

Weekly Downloads

1

Version

1.1.5

License

ISC

Unpacked Size

35.8 kB

Total Files

16

Last publish

Collaborators

  • kitxiii