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

Dependencies (2)

Dev Dependencies (9)

Package Sidebar

Install

npm i ichazof_project_test

Weekly Downloads

2

Version

9.4.0

License

ISC

Unpacked Size

33.1 kB

Total Files

18

Last publish

Collaborators

  • ichazof