Skip to content

Funkicide/frontend-project-lvl1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

73 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🎲 Brain Games

Lint-check Actions Status Maintainability

What is Brain Games?

Brain Games consists of five math based cli games. To win, you need to give 3 correct answers in a row. You lose if give wrong answer.

  • Brain Even - you need to tell whether the given number is even of not.
  • Brain Calc - you need to calculate and provide the result of the simple math expression.
  • Brain Gcd - you need to find the greatest common divisor of two given numbers.
  • Brain Progression - you need to find the missing number of the progression.
  • Brain Prime - you need to tell whether the given number is prime or not.

System requirements

  • NodeJS >= 12 <= 18
  • NPM >= 6.x
  • Make

Setup

make install

Usage

Brain-even

make brain-even

Brain-calc

make brain-calc

Brain-gcd

make brain-gcd

Brain-progression

make brain-progression

Brain-prime

make brain-prime

Game demos:

Brain-even:

https://asciinema.org/a/IlqsoCzlCP8DZOn17UyVfgQsE

Brain-calc:

https://asciinema.org/a/AbqLgmOxQAq8rUCLolvBHd65G

Brain-gcd:

https://asciinema.org/a/i36CJigBr3sYc7zzPwd9TB49P

Brain-progression:

https://asciinema.org/a/8VtDSAG9kzqpXjaFEVu87BjEG

Brain-prime:

https://asciinema.org/a/epvabOwADpBXB3cHmo4jhX1Bm

About

🎲 Brain Games - set of five math based CLI games.

Resources

Stars

Watchers

Forks