Descripion:
«Brain games» is a set of five different games. Every game contains different questions. Your target is to answer the questions. The game is finished, if you answer correctly three times in a row. If the answer is wrong the game stops, and you'll get a message to try to play again.
List of games:
• calculator. This game is about arithmetic expressions that need to be calculated.
• progression. This game is about finding missing numbers in a sequence of numbers.
• even. Determining an even number.
• gsd. Determining the greatest common divisor.
• prime. Determining a prime number.
Installation:
// Step 1 — clone the repository
$ git clone https://github.com/marik-yakovlev/frontend-project-lvl1.git
// Step 2 — proceed to the folder
$ cd frontend-project-lvl1
// Step 3 — install the dependencies
$ make install
// Step 4 — install the packages
$ sudo npm link
// Step 5 — use the special command to run the game
$ brain-games
The list of all commands:
//This command greets you $ brain-games
//Next 5 commands start the games
$ calculator
$ even
$ gcd
$ prime
$ progression
Asciinema demonstrations:
brain-games
calculator
even
gcd
prime
progression