Wondering what’s next for npm?Check out our public roadmap! »

brain-games-onlyo

1.0.27 • Public • Published

Maintainability Build Status

Console Brain Games

How to install

sudo npm install brain-games-onlyo -g

List of games

brain-even (Is it an even number?) 
 
brain-calc (Solve three mini arithmetic exercises)

brain-progression (Find out what number is missing in math progression)

brain-nod (Find the greatest common divisor)

brain-prime (Is it a prime number?)

Brain-even

Launch game:

brain-even

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

Question: 5
Your answer: no
Correct!

asciicast

Brain-calc

Launch game:

brain-calc

Find out the result of the expression

Question: 5 * 12
Your answer: 60
Correct!

asciicast

Brain-nod

Launch game:

brain-nod

Find the greatest common divisor of given numbers.

Question: 22, 50
Your answer: 2
Correct!

asciicast

Brain-prime

Launch game:

brain-prime

Is the number prime?

Question: 50
Your answer: no
Correct!

asciicast

Brain-progression

Launch game:

brain-progression

What number is missing in this progression?

Question: 5 9 .. 17 21 25 29 33 37 41 
Your answer: 13
Correct!

asciicast

Install

npm i brain-games-onlyo

DownloadsWeekly Downloads

0

Version

1.0.27

License

ISC

Unpacked Size

28.6 kB

Total Files

24

Last publish

Collaborators

  • avatar