Brain Games is a mathematical quiz built for command line.
It consists of five games:
Find even number: Answer Yes if the number is even, otherwise answer No.
Calculator: What is the result of the expression?
Greatest Common Divisor Calculator: Find the greatest common divisor of given numbers.
Arithmetic progression: Answer Yes if given number is prime. Otherwise answer No.
Find prime number: What number is missing in the progression?
Clone the project to your local directory and run
npm install
Run the following commands to play corresponding games:
make brain-even
make brain-calc
make brain-gcd
make brain-progression
make brain-prime
Name initialization & find even number:
Calculator (+, -, * operators):
Greatest Common Divisor Calculator:
Arithmetic progression:
Find prime number: