This is the first project from Hexlet Frontend Program.
Demonstration of brain-games on Replit
Give correct answer 3 times in a row to win.
- Clone this repository to your filesystem
git clone https://github.com/dpetruk/frontend-project-lvl1.git
-
Go to the created directory named
frontend-project-lvl1
-
Create links to run games locally
npm link
If you want then to delete games just type npm unlink
in the same folder.
Tell if a given number is even or not.
To run:
brain-even
Calculate a given arithmetic expression.
To run:
brain-calc
Find a greatest common divisor for two numbers.
To run:
brain-gcd
Find a missing number in a given sequence.
To run:
brain-progression
Tell if a given number is prime or not.
To run:
brain-prime