Skip to content

sol-un/backend-project-lvl1-Brain-Games

Repository files navigation

Maintainability Lint

The Brain Games Project

Read this in English | Spanish

Description

Brain Games is a package of five CLI-based games whose gameplay is similar to some popular 'brain teaser' mobile apps. Each game generates a set of problems. Solve three problems to complete a game. A wrong answer means a game over and restart. The following games are featured:

  • Even-Odd Game. Tell whether a number is even.
  • Calculator Game. Solve arithmetic problems.
  • GCD Game. Find the greatest common divisor of a pair of numbers.
  • Progression Game. Find the number missing from a sequence.
  • Prime Game. Tell whether a number is prime.

Installation

npm install -g backend-project-lvl1

Usage

Run the games in the console:

  • Even-Odd Game: brain-even
  • Calculator Game: brain-calc
  • GCD Game: brain-gcd
  • Progression Game: brain-progression
  • Prime Game: brain-prime

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published