Skip to content

PavelDeuce/brain-games

Repository files navigation

brain-games

Build Status Maintainability Test Coverage

BrainGames install

$ npm install -g deuce-brain-games

Type brain-games to get all games:

$ brain-games

The list of games with their description:

  • brain-even: Answer "yes" if number even otherwise answer "no".
  • brain-calc: What is the result of the expression?
  • brain-gcd: Find the greatest common divisor of given numbers.
  • brain-progression: What number is missing in the progression?
  • brain-prime: Answer "yes" if given number is prime. Otherwise answer "no".
  • brain-fibonacci: What is the missed member of The Fibonacci sequence?
  • brain-factorial: What is the factorial of the number?

This is an example how to install and how to play brain-games! asciicast