"Brain Games" is a set of five console games inspired by popular mobile brain-pumping apps. Each game asks questions to be answered correctly. Once three correct answers are given, the game ends. Incorrect answers end the game and prompt you to play it again. The games are:
- Calculator. Calculate random arithmetic expressions
- Progression. Find missing numbers in a number sequence
- Determining an even number
- Determining the greatest common divisor
- Determining a prime number
- Clone this repository to your filesystem
https://github.com/bohdanyezhlov/frontend-project-lvl1.git
-
Go to the created directory named
frontend-project-lvl1
-
Create links to run games locally
npm link
The user is shown a random math expression, such as 35 + 16, which they must calculate and enter the result.
The user is shown a random number, and they should answer "yes" if the number is even, or "no" if it is odd.
The user is shown two random numbers, such as 25 and 50. They must calculate and enter the greatest common divisor of these numbers.
The user is shown a number series that forms an arithmetic progression, with any one number replaced with two dots. The user must figure out the hidden number.
The user is shown a random number. They need to answer "yes" if the number is prime, or "no" if it is not prime.