Skip to content

mrpuer/project-lvl1-s124

Repository files navigation

Brain Game

JavaScript console "Brain Games" for the Hexlet project.

Game Example:

Welcome to the Brain Game!
What number is missing in this progression?

May I have your name? John
Hello, John!

Question: 14 .. 18 20 22 24 26 28
Your answer: 16
Correct!
Question: 5 6 7 8 9 .. 11 12
Your answer: 10
Correct!
Question: 12 15 18 21 .. 27 30 33
Your answer: 24
Correct!
Congratulations, John!

Installation:

npm install -g puer-brain-game

To start the game just enter a game name at console.

Available games:

  • brain-even (parity check)
  • brain-calc (calculator)
  • brain-gcd (greatest common divisor)
  • brain-balance (balance the number)
  • brain-progression (arithmetic progression)
  • brain-prime (prime number)

Used components and services:

  • npm
  • babel
  • eslint
  • readline-sync
  • CodeClimate
  • Travis-ci

Build Status Code Climate Test Coverage Issue Count

About

JavaScript console "Brain Games"

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published