Brain Games
Study project on node.js
Game rules:
brain-even: Answer "yes" if number even otherwise answer "no".
brain-calc: What is the result of the expression?
brain-gcd: Find the greatest common divisor of given numbers.
brain-progression: What number is missing in the progression?
brain-prime: Answer "yes" if given number is prime. Otherwise answer "no".
Option 1: Install & run from NPM
$ npm i -g @artperederiy/brain-games
$ brain-even # run brain-even
$ brain-calc # run brain-calc
$ brain-gcd # run brain-gcd
$ brain-progression # run brain-progression
$ brain-prime # run brain-prime
Option 2: Build & run from git repository
$ git clone git@github.com:ArtyomPerederiy/backend-project-lvl1.git
$ make install
$ make publish
$ make start # run brain-even
$ make start1 # run brain-calc
$ make start2 # run brain-gcd
$ make start3 # run brain-progression
$ make start4 # run brain-prime