Skip to content

tsiun/frontend-project-44

Repository files navigation

Brain Games

Actions Status Quality Gate Status Bugs Code Smells Coverage

A set of console math games for brain training.
Each game asks you questions, and you need to give the correct answer.
If you make three mistakes — the game is over.

Installation

Clone the repository and install dependencies:

git clone <your-repo-url>
cd <your-project-folder>
make install
npm link

Usage

To start a game, run its command in the terminal. Example:

brain-even

Available Games

Brain Even

Rule: Answer "yes" if the number is even, otherwise answer "no". Run a game from the terminal.

brain-even
Demo

asciicast

Brain Calc

Rule: Solve a simple arithmetic expression. Run a game from the terminal.

brain-calc
Demo

asciicast

Brain GCD

Rule: Find the greatest common divisor of two numbers. Run a game from the terminal.

brain-GCD
Demo

asciicast

Brain Progression

Rule: Find the missing number in the arithmetic progression. Run a game from the terminal.

brain-progression
Demo

asciicast

Brain Prime

Rule: Answer "yes" if the number is prime, otherwise answer "no". Run a game from the terminal.

brain-prime
Demo

asciicast

Minimum Requirements

Node.js >= 20.0
npm >= 9.0
Make >= 4.0

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published