README
project-lvl1-s462
This repository contains a set of simple games:
- brain-even.js Parity check.
The essence of the game is as follows: a random number is shown to the user. And the user needs to answer the number is even or not.
- brain-calc.js Calculator.
The essence of the game is as follows: the user is shown a random mathematical expression that needs to be calculated and the correct answer is written.
- brain-gcd.js The greatest common factor.
The essence of the game is as follows: the user is shown two random numbers. The user must calculate and enter the greatest common factor of these numbers.
- brain-progression.js Arithmetic progression.
The essence of the game is as follows: we show the player a series of numbers that forms an arithmetic progression, replacing any of the numbers with two dots. The player must determine this number.
- brain-prime.js Prime check.
The essence of the game is as follows: a random number is shown to the user. And the user needs to answer the number is simple or not.
Setup
$ npm install -g braingames-shkarov