Skip to content

Dastorin/backend-project-lvl1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Brain games.

Brain Games is a series of small console games you can play to stretch your brain muscle a little.

Installation:

  • Check if you have node.js installed (node --version). If not - install it with available package manager

  • Clone this repo

  • Install dependencies with 'make install' or 'npm ci'

  • Install games with 'npm link'.

  • Run games with commands corresponding with their names

  • Enjoy :)

Games:

  • brain-even: determine if the number is even
  • brain-calc: calculate the result of a given equation
  • brain-gcd: find the greatest common divisor of two given numbers
  • brain-progression: find the missing progression element
  • brain-prime: determine if the number is prime

Hexlet tests and linter status:

b-games Actions Status

Example

brain-even: asciicast

<script async id="asciicast-453858" src="https://asciinema.org/a/453858.js"></script>

brain-calc: asciicast

brain-gcd: asciicast

brain-progression: asciicast

brain-prime: asciicast

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published