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 linkIf 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-evenCalculate a given arithmetic expression.
To run:
brain-calcFind a greatest common divisor for two numbers.
To run:
brain-gcdFind a missing number in a given sequence.
To run:
brain-progressionTell if a given number is prime or not.
To run:
brain-prime



