1.0.0 • Published 4 years ago
@afreakanist/project1 v1.0.0
My first frontend project (lvl 1)
Hello, stranger! This is my first project ever. It's a set of little math games I encourage you to play!
Installation
To install the package, input the following command:
npm link
To run a game, input one of the following commands, depending on the game you want to play:
Command | Game description | Expected answer |
---|---|---|
brain-calc | performing arithmetic operations of addition / substraction / multiplication | integer |
brain-even | determining whether a number is even (division by two gives an integer) or not | "yes"/"no" in words |
brain-gcd | finding the greatest common divisor of two numbers | integer |
brain-prime | determining whether a number is prime (only division by 1 and the number itsels gives an integer) or not | "yes"/"no" in words |
brain-progression | finding the missing term of a progression (common difference always equals 2) | integer |
To win a game, you must answer three questions.
Here are some videos illustrating how to install the package and run the games:
Additional information
Please notice that this is a practice project. My name is Anna Korotkikh and I did this project under supervision of the Hexlet Team. Don't hesitate to let me know if you think it needs fine-tuning!
1.0.0
4 years ago