Skip to content

webdb81/frontend-project-44

Repository files navigation

Hexlet tests and linter status:

Actions Status

Maintainability

Brain Games

Collection of games for leveling-up of brain abilities.

Prerequisites

  • Node.js version 16 or higher.
  • Terminal for accessing Brain-Games via command line interface (CLI).

Install

  1. Clone project to your computer.
# via HTTPS
git clone https://github.com/webdb81/frontend-project-44.git

# or via Github CLI
gh repo clone webdb81/frontend-project-44
  1. Go to the main directory of cloning project.
cd frontend-project-44
  1. Install all the necessary dependencies.
npm ci
  1. Linking package to be able to run games. This command may require admin rights aka sudo.
npm link
  1. Run the game using the commands from the list:

Games demonstration

Brain-even game

Checking for the parity of a random-generated number.

asciicast

Brain-calc game

Find the result of a mathematical operation for two numbers.

asciicast

Brain-gcd game

Find the greatest common divisor for two numbers.

asciicast

Brain-progression game

Find the missing number in the progression.

asciicast

Brain-prime game

Check if a number is prime.

asciicast

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published