Project frontend-project-lvl1 has implemented a set of mini games launched from the console.
Mentor Sergey Karpuk
$ sudo npm i -g frontend-project-lvl1-deputatovn
User sees a random number. He needs to answer yes if the number is even, or no if it is odd.
run game $ brain-even
User sees a random mathematical expression that needs to be calculated and written down the correct answer.
run game $ brain-calc
User sees two random numbers. He must calculate and enter the largest common divisor of these numbers.
run game $ brain-gcd
User sees a series of numbers forming an arithmetic progression, one of which is represented by two points. He must determine and enter this number.
run game $ brain-progression
User sees a random number. He needs to answer yes if the number is prime, or no if not.
run game $ brain-prime