1.0.0 • Published 3 years ago

@timursus/brain-games v1.0.0

Weekly downloads
-
License
ISC
Repository
github
Last release
3 years ago

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