Skip to content

🧠 Brain Games is a collection of 5 console-based math games designed to train mental calculation skills. Each game presents simple math challenges that get progressively harder.

License

Notifications You must be signed in to change notification settings

ElenaManukyan/Mind-games

Repository files navigation

Brain Games 🧠🎮

MIT License CI Status

A collection of five console math games to train your brain. Each game presents questions that need to be answered correctly. Three correct answers win the game, while a wrong answer ends it.

🎮 Available Games

  1. Calculator - Solve arithmetic expressions
  2. Progression - Find the missing number in a sequence
  3. Even or Odd - Determine number parity
  4. Greatest Common Divisor - Find GCD of two numbers
  5. Prime Number - Check if number is prime

⚙️ Installation

Prerequisites

  • Node.js v14+

Setup

git clone https://github.com/ElenaManukyan/Mind-games.git
cd Mind-games
npm install

🔍 Code Quality

npx eslint .  # Runs Airbnb style guide check

🕹️ How to Play

Game Command Description
Even Check make brain-even Determine if number is even
Calculator make brain-calc Solve math expressions
GCD make brain-gcd Find greatest common divisor
Progression make brain-progression Complete the sequence
Prime make brain-prime Check for prime numbers

🎥 Demonstrations

Even Check

Even Check Demo

Calculator

Calculator Demo

GCD

GCD Demo

Progression

Progression Demo

Prime

Prime Demo

🤝 Contributing

Pull requests welcome! For major changes, please open an issue first.

📜 License

MIT License

About

🧠 Brain Games is a collection of 5 console-based math games designed to train mental calculation skills. Each game presents simple math challenges that get progressively harder.

Resources

License

Stars

Watchers

Forks

Packages

No packages published