"Brain games" is a set of five console games based on the popular mobile brain-pumping apps. Each game asks questions that need to be answered correctly. After three correct answers, the game is considered completed. Incorrect answers end the game and prompt you to play it again.
Games:
- "Checking Parity"
- "Calculator"
- "Greatest common divisor (GCD)"
- "Arithmetic progression"
- "Is it a prime number?"
You should have Node.js installed before proceeding. Only test JS against v19 and on macOS.
# Clone the repo
git clone https://github.com/Teihden/frontend-project-44
cd frontend-project-44
# Install dependencies
make install
# Run each game separately
make brain-even
make brain-calc
make brain-gcd
make brain-progression
make brain-prime
# Run package
make brain-games
# Runs npm-publish with flag (--dry-run)
make publish
# Runs Eslint against source code for quality
make lint