frontend-project-lvl1-deputatovn

1.0.1 • Public • Published

Maintainability Build Status

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

Install package

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

Run game even

Game "Calculator"

User sees a random mathematical expression that needs to be calculated and written down the correct answer.

run game $ brain-calc

Run game calculator

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

Run game 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

Run game 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

Run game prime

Package Sidebar

Install

npm i frontend-project-lvl1-deputatovn

Weekly Downloads

16

Version

1.0.1

License

MIT

Unpacked Size

26.8 kB

Total Files

15

Last publish

Collaborators

  • deputatov