hexlet-brain-games-andryushque
v1.7.10
Published
Hexlet Project#1 - Brain Games
Downloads
5
Maintainers
Readme
Hexlet Project#1 - "Brain Games"
Five mini-games launched from command line.
Install
$ npm install -g hexlet-brain-games-andryushque
Usage
- isEven Answer "yes" if given number is even, otherwise answer "no".
$ brain-even
- Calculator What is the result of the expression?
$ brain-calc
- Greatest common divisor
Find the greatest common divisor of given numbers.
$ brain-gcd
- Progression
What number is missing in the progression?
$ brain-progression
- isPrime
Answer "yes" if given number is prime, otherwise answer "no".
$ brain-prime
Uninstall
$ npm uninstall -g hexlet-brain-games-andryushque