A collection of console games built with Node.js.
- Node.js version: 14.0 or higher
- npm version: 6.0 or higher
- Brain Calc: solve simple arithmetic problems.
- Brain Even: determine if a number is even or odd.
- Brain GCD: find the greatest common divisor of two numbers.
- Brain Prime: check if a number is prime.
- Brain Progression: identify the missing number in a sequence.
Following commands:
brain-games — Hello! brain-even — check if a number is even; brain-calc — solve simple mathematical expressions; brain-gcd — calculate the greatest common divisor of two numbers; brain-progression — calculate and enter the missing number in a progression; brain-prime — check if a number is prime.
Videos, see how to play each of the games:
- evenGame https://asciinema.org/a/xXJE5V0dzW1RXYezhJReS7KbC
- calcGame https://asciinema.org/a/hiWRaqvTKgcgXtDP2FQDS2hZK
- gcdGame https://asciinema.org/a/w1xpl9p03RJE9Ih0KNsa7EEaw
- progressionGame https://asciinema.org/a/m3JnEUVNFn1y8fP2sXY5mNxqV
- primeGame https://asciinema.org/a/0kq3nzRgi1i5NA5QC2RL57dfB