vbelolapotkov / frontend-project-lvl1

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Maintainability CI

frontend-project-lvl1

Includes a set of simple console-based quiz games. Give 3 correct answers in a row to win.

Installation

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

brain-even

Answer if generated number is even.

asciicast

brain-calc

Calculate the result of generated expression.

asciicast

brain-gcd

Calculate greatest common divisor of generated numbers.

asciicast

brain-progression

Find the missing number in generated arithmetic progression.

asciicast

brain-prime

Answer if generated number is prime.

asciicast

About


Languages

Language:JavaScript 95.5%Language:Makefile 4.5%