Brain Games
A set of six mathematical minigames.
Install
You need npm. It is bundled with node
$ npm i g braingames_margo
Run

isEven number
$ braineven
The point of the game: the user is shown a random number. Answer yes,if the number is even, or no  if odd. 
Calculator
$ braincalc
The point of the game: the user is shown a random mathematical expression, calculate and write the correct answer. 
Find GCD
$ braingcd
The point of the game: the user is shown two random numbers, calculate and enter the greatest common divisor of these numbers. 
Balance the number
$ brainbalance
The point of the game: the user is shown two random number, balance the number.
A balanced number is a number in which the smallest digit differs from the largest one by 1. 
Find missing number in progression
$ brainprogression
The point of the game: the user is shown a series of numbers, forming an arithmetic progression, one random number replaced with two points.
The player need to determine this number. 
isPrime number
$ brainprime
The point of the game: the user is shown a random number. Answer yes, if the number is prime, or no  if odd.
Uninstall
$ npm uninstall g braingames_margo