Brain Games is a series of small console games you can play to stretch your brain muscle a little.
Installation:
-
Check if you have node.js installed (node --version). If not - install it with available package manager
-
Clone this repo
-
Install dependencies with 'make install' or 'npm ci'
-
Install games with 'npm link'.
-
Run games with commands corresponding with their names
-
Enjoy :)
Games:
- brain-even: determine if the number is even
- brain-calc: calculate the result of a given equation
- brain-gcd: find the greatest common divisor of two given numbers
- brain-progression: find the missing progression element
- brain-prime: determine if the number is prime