1.0.15 • Published 6 years ago

brain-game_hexlet-project-anikeieva v1.0.15

Weekly downloads
1
License
ISC
Repository
-
Last release
6 years ago

project-lvl1-s292

Maintainability Test Coverage Build Status

About

It's a set of console brain games:

  • brain-even,
  • brain-calc,
  • brain-gcd,
  • brain-balance,
  • brain-progression,
  • brain-prime

You must correct answer to one type question three times to won. Else - start game again.

brain-even

Brain-even give a number and you must type is it even or not. Answers have to be "yes" or "not", other answers are error.

brain-calc

Brain-calc give expression and you must type result.

brain-gcd

Brain-gcd give two numbers and you must type greater common divisor for them.

brain-balance

Brain-balance give a number and you have to balance it. Digits of balanced number have to have difference no more than 1. For example, 334 - balanced number, 528 - not. Balanced number of 528 - 555. Also Digits of balanced number must be in rise.

brain-progression

Brain-progression give arithmetic progression without a member and you must type hidden one.

brain-prime

Brain-prime give a number and you have to answer is it prime or not.

Installation

sudo npm install -g brain-game_hexlet-project-anikeieva

Run

Each game runs with it name.

For example, installation, running and playing brain-even game (with different game options):

brain-even

1.0.15

6 years ago

1.0.14

6 years ago

1.0.13

6 years ago

1.0.12

6 years ago

1.0.11

6 years ago

1.0.10

6 years ago

1.0.9

6 years ago

1.0.8

6 years ago

1.0.7

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago