Nobody Pays (for) Magazines
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

ichazof_project_test

9.4.0 • Public • Published

Maintainability

Test Coverage

Build Status

Brain Games

This project was developed during the teaching on Hexlet A set of intelligent mini games.

Installing

sudo npm install -g ichazof_project_test

Is even

You must determine whether the number is even?

Command to start the game: brain-even

Balance number

It is necessary to balance the number. A balanced number is a number in which the smallest digit differs from the largest one by more than one.

Command to start the game: brain-balance

Calculator

The user is shown a random mathematical expression that needs to be calculated and written the correct answer.

Command to start the game: brain-calc

Greatest common divisor

The user is shown two random numbers, he must calculate and enter the greatest common divisor of these numbers.

Command to start the game: brain-gcd

Progression

We show the player a series of numbers, forming an arithmetic progression, replacing any of the numbers with two points. The player must determine this number.

Command to start the game: brain-progression

Is Prime

The user must determine whether the number is prime

Command to start the game: brain-prime

Keywords

install

npm i ichazof_project_test

Downloadsweekly downloads

567

version

9.4.0

license

ISC

last publish

collaborators

  • avatar