1.0.10 • Published 5 years ago

@artperederiy/brain-games v1.0.10

Weekly downloads
-
License
ISC
Repository
github
Last release
5 years ago

Brain Games

Study project on node.js

Maintainability Build Status

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 
    

Examples

Install from NPM

asciicast

brain-even

asciicast

brain-calc

asciicast

brain-gcd

asciicast

brain-progression

asciicast

brain-prime

asciicast

1.0.10

5 years ago

1.0.9

5 years ago

1.0.8

5 years ago

1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago