@timursus/brain-games

1.0.0 • Public • Published

Brain Games

Maintainability Workflow

A Set of brain training cli-games. Each game consists of three questions. To win, the player must give the correct answers to each of them.

Setup

$ npm install -g @timursus/brain-games

How to play

Сalculate the result of an arithmetic expression

$ brain-calc

Answer if the given number is even, or not

$ brain-even

Find the missing number in the sequence

$ brain-progression

Answer if the given number is prime, or not

$ brain-prime

Find the greatest common divisor of given numbers

$ brain-gcd

Demos

Brain Even game

even-asciicast

Brain Calc game

calc-asciicast

Brain Greatest Common Divisor game

gcd-asciicast

Brain Progression game

progression-asciicast

Brain Prime game

prime-asciicast

Package Sidebar

Install

npm i @timursus/brain-games

Weekly Downloads

2

Version

1.0.0

License

ISC

Unpacked Size

8.91 kB

Total Files

17

Last publish

Collaborators

  • timursus