Skip to content

SamIvan-ark/frontend-project-lvl1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published