/frontend-project-44

JavaScript training project. Console games about counting numbers and solving math problems.

Primary LanguageJavaScript

Hexlet tests and linter status:

Actions Status Maintainability

Brain Games

JavaScript training project. Games for console terminal about numbers.

Requirements:

  • nodejs

Installation:

  • download or clone source code
  • open directory in terminal
  • npm ci
  • npm publish --dry-run
  • npm link (may require sudo)

Now you can launch game in any directory by typing its name.

Games:

  • brain-games - this is a warm welcoming message. Asciinema demo
  • brain-even - Answer "yes" if the number is even, otherwise answer "no". Asciinema demo
  • brain-calc - What is the result of the expression? Asciinema demo
  • brain-gcd - Find the greatest common divisor of given numbers. Asciinema demo
  • brain-progression - What number is missing in the progression? Asciinema demo
  • brain-prime - Answer "yes" if given number is prime. Otherwise answer "no". Asciinema demo