JavaScript training project. Games for console terminal about numbers.
- nodejs
- download or clone source code
- open directory in terminal
npm ci
npm publish --dry-run
npm link
(may requiresudo
)
Now you can launch game in any directory by typing its name.
- 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