1.0.2 • Published 5 years ago

brain-games-ln v1.0.2

Weekly downloads
2
License
ISC
Repository
github
Last release
5 years ago

Brain-games

Maintainability Build Status

This package includes 5 simple math games to be launched as CLI.

Requirements

npm must be installed in your operating system.

Installation

npm install -g brain-games-ln

Usage

Type name of the game which you would like to play in the command-line.

Games list, description and asciicast2gif gameplay samples

  • brain-even

You need to answer whether a given number is even or not.

brain-even

  • brain-calc

Adding, subtraction or multiplication of two values.

brain-calc

  • brain-gcd

You'll get two numbers and you'll have to calculate their gratest common divisor.

brain-gcd

  • brain-progression

You need to calculate missed arithmetic progression term.

brain-progression

  • brain-prime

You need to define whether the displayed number is prime or not.

brain-prime