Skip to content

Maiiiiiiiiia/Brain-Games

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hexlet tests and linter status:

Actions Status

Brain Games

Is a set of five console games based on popular mobile brain training apps. Each game asks questions that need to be answered correctly. After three correct answers, the game is considered to be completed. Wrong answers end the game and offer to play it again. Games:
  • brain-games - Beginning. Game with introduction.
  • brain-calc - Calculator. Arithmetic expressions to be evaluated.
  • brain-progression - Progression. Search for missing numbers in a sequence of numbers.
  • brain-even - Definition of an even number.
  • brain-gcd - Finding the Greatest Common Divisor.
  • brain-prime - Definition of a prime number.

Setup:

  1. To run JavaScript code, you need to download and install Node.js.
  2. Your version of Node.js. must be higher than v19.2.0
  3. Check the current updates for database with available packages: enter command line `apt update`
  4. Install Node.js package `apt install nodejs`
  5. Upgrade latest version of Node.js `apt upgrade nodejs`
  6. install npm `apt install npm`
  7. Clone repository by SHH key `git@github.com:Maiiiiiiiiia/frontend-project-lvl1.git`
  8. eEnter command line `make install`
  9. Start the game by command `make *name-games*`

brain-even asciinema

brain-calc asciinema

brain-gcd asciinema

brain-progression asciinema

brain-prime asciinema

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published