Skip to content

E-Nasonov/frontend-project-44

Repository files navigation

Brain Games

Actions Status Quality Gate Status Maintainability Rating Reliability Rating

Description

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

Available Games:

  • Even Number Check - determine if a number is even
  • Calculator - calculate arithmetic expressions
  • Greatest Common Divisor - find the GCD of two numbers
  • Arithmetic Progression - find missing numbers in number sequences
  • Prime Number Check - determine if a number is prime

Installation and launch

Requirements

  • Node.js
  • npm

Installation

  1. Clone the repository:
git clone https://github.com/E-Nasonov/frontend-project-44.git
  1. Go to the project directory
cd frontend-project-44
  1. Install dependencies:
npm ci
  1. Install the package globally:
npm link

Usage

Run any of the following commands in your terminal:

brain-even         # Even number check game
brain-calc         # Calculator game
brain-gcd          # Greatest common divisor game
brain-progression  # Arithmetic progression game
brain-prime        # Prime number identification game

Demo

Installation Demo

ASCII Cast

Brain Even Game

ASCII Cast

Brain Calc Game

ASCII Cast

Brain GCD Game

ASCII Cast

Brain Progression Game

ASCII Cast

Brain Prime Game

ASCII Cast

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published