Brain Games
Brain games is a small collection of simple console games.
Installation
$ npm install -g brain-games-saenkomm
List of the games
Usage
Play even numbers
You need to ansver, is the given number even or not.
$ brain-even
Play calculator
You need to calculate the value of an arithmetic expression.
$ brain-calc
Play greatest common devisor
You need to determine the greatest common devisor of two given numbers.
$ brain-gcd
Play arithmetic progression
You need to determine a hidden value in an arithmetic progression.
$ brain-progression
Play prime numbers
You need to answer, is the given number prime or not.
$ brain-prime