frontend-project-lvl1-deputatovn
v1.0.1
Published
frontend project brain games
Downloads
9
Maintainers
Readme
Project "Brain games"
Project frontend-project-lvl1 has implemented a set of mini games launched from the console.
Mentor Sergey Karpuk
Install package
$ sudo npm i -g frontend-project-lvl1-deputatovn
Game "Even and odd number"
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
Game "Calculator"
User sees a random mathematical expression that needs to be calculated and written down the correct answer.
run game $ brain-calc
Game "Greatest common divisor"
User sees two random numbers. He must calculate and enter the largest common divisor of these numbers.
run game $ brain-gcd
Game "Arithmetic progression"
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
Game "Is prime number?"
User sees a random number. He needs to answer yes if the number is prime, or no if not.
run game $ brain-prime