Skip to content

Latest commit

 

History

History
75 lines (57 loc) · 1.83 KB

README.md

File metadata and controls

75 lines (57 loc) · 1.83 KB

Brain-games

Maintainability   Node CI

"Brain Games" is a set of five console games, built on the principle of popular mobile brain training applications. 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 suggest replaying it.

Games:

  • Calculator. Arithmetic expressions to be evaluated.
  • Progression. Find missing numbers in a sequence of numbers.
  • Find an even number.
  • Find the greatest common factor.
  • Find a prime number.

Requirements

Node.js version 13 or higher

Setup for Linux / macOS systems

$ make install

Run games on Linux / macOS systems

$ make brain-calc
$ make brain-even
$ make brain-gcd
$ make brain-prime
$ make brain-progression

Setup for Windows

$ npm ci

Run games on Windows

$ node bin/brain-calc.js
$ node bin/brain-even.js
$ node bin/brain-gcd.js
$ node bin/brain-prime.js
$ node bin/brain-progression.js