Kid-Guru / frontend-project-lvl1

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Brain games - Hexlet frontend project I

«Brain Games» is a set of five console games

Hexlet tests and linter status:

Actions Status Maintainability

About The Project

«Brain Games» is a set of five console games built on the principle of popular mobile brain-boosting apps. Each game asks questions that need to be answered correctly. After three correct answers, the game is considered to be completed. Wrong answers end the game and offer to play it again.

List of games:

  • Calculator. Arithmetic expressions to be evaluated.
  • Progression. Finds missing numbers in a sequence of numbers.
  • Definition of an even number.
  • Determination of the greatest common factor.
  • Definition of a prime number.

Getting Started

  1. Clone the repo
    git clone https://github.com/Kid-Guru/frontend-project-lvl1.git
  2. Install NPM packages
    nvm install node
    
  3. Run this command install and link the package
    make install
    

Usage and possible commands

You will see a description and rules at the beginning of the game. You win if you give three correct answers. If you make a mistake, the game ends.

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

Example:

asciicast

About


Languages

Language:JavaScript 93.1%Language:Makefile 6.9%