"Brain-Games" is a project that contains 5 console games that will train players brain. Each game asks 3 questions with random generated numbers. If player answer is incorrect, the game will end.
git clone https://github.com/worldspawn-web/frontend-project-44.git
npm i
npm link
Starts the game "Even Check"
brain-even
Starts the game "Calculator"
brain-calc
Starts the "Greatest Common Divisor" game
brain-gcd
Starts the game "Arithmetic progression" game
brain-progression
Starts the game "Is It a prime number?"
brain-prime
The player gets a random generated number, and the goal is to determine if the number is even or odd.
The player gets a random generated mathematical expression and the goal is to write the correct answer.
The players gets two random generated numbers and the goal is to calculate and enter the greatest common divisor of these two.
The player gets an array of numbers forming in arithmetic progression, replacing any of the numbers with "..". The player must determine what number is being hidden.
The player gets a random number and the goal is to determine if the given number is prime.