README
Brain games
This project's aim is to implement a set of simple console games that require player to solve certain mathematical problems.
They're implemented using JavaScript and can be installed via npm packet manager.
Install
npm install g braingamesdkedition
Usage and examples
Example  Usage 
braineven Player is shown a random number and must reply with yes if it is even and no otherwise. 

braincalc Player must solve randomly generated mathematical expression. 

braingcd Player is presented with two random numbers and must reply with their greatest common divisor. 

brainbalance Balanced number is such that it's smallest digit differs from the largest one by no more than 1. To balance a number one can subtract value from some digits and add it to others. Player is expected to find a balanced number that has it's digits in ascending order. For example, instead of 322 or 232 one should input 223. 

brainprogression Player is presented with a series of numbers that form a part of arithmetic progression. Player's task is to fill a missing spot in that series. 

brainprime Player is shown a random number and must reply with yes if it is prime and no otherwise. 