Includes a set of simple console-based quiz games. Give 3 correct answers in a row to win.
To install and play games Node.js 13+ is required. Run following commands in terminal to install:
git clone https://github.com/vbelolapotkov/frontend-project-lvl1.git ./brain-games
cd brain-games
npm install --production
npm link
After installation type game name in the terminal to launch game. Example:
brain-even
Answer if generated number is even.
Calculate the result of generated expression.
Calculate greatest common divisor of generated numbers.
Find the missing number in generated arithmetic progression.
Answer if generated number is prime.