Skip to content

Latest commit

 

History

History
63 lines (40 loc) · 1.9 KB

README.md

File metadata and controls

63 lines (40 loc) · 1.9 KB

Hexlet tests and linter status:

Actions Status

Codeclimate maintainability Badge

Maintainability

Brain-games!

Educational project of Hexlet.

For launch require npm.

Installing:

  1. clone repo in your local machine;
  2. hit "npm ci" (or 'make install' if you got "Make" npm-package installed)
  3. play!

Supported commands:

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

About games:

In all games you need to answer three questions. The terminal input window is used to answer.

Brain Even-Odd

It is necessary to determine whether the proposed number is even or odd.

Brain Calculator

Calculate result of mathematical expression.

Brain Greater Common Divisor

Given a two numbers. You must to determine the number that is the greatest common divisor.

Brain Progression

There is an arithmetic progression. Find missing element.

Brain Prime

There is a simple (primal, he-he). Answer the number is prime or not.

Examples of work

Brain-Even functionality example

asciicast

Brain-calc functionality example

asciicast

Brain-gcd functionality example

asciicast

Brain-progression functionality example

asciicast

Brain-prime functionality example

asciicast