/backend-project-lvl1

A collection of 15 brain games

Primary LanguageJavaScriptMIT LicenseMIT

Maintainability Known Vulnerabilities hexlet-check NodeCI License: MIT

Welcome to the Brain Games!

This is my first JavaScript project based on Hexlet backend courses. I built a collection of 15 brain games.

This is a second version of games, you can find first version here.

Quick start

Copy this commands and paste in a terminal, note that clone command using ssh.

git clone git@github.com:gomez-git/backend-project-lvl1.git
cd backend-project-lvl1
make install
brain-games -h

Description

Brain games is a CLI utility with 15 games inside.

You can play games endless or not, define maximum rounds you want to play each game and define minimum and maximum numbers which will be used in games (some games doesn't support this option).

$ brain-games -h
Usage: brain-games [options]

A collection of 15 brain games

Options:
  -v, --version               output the version number
  -e, --endless               play games endless (default: true)
  -o, --no-endless            play one game
  -r, --max-rounds <rounds>   define max game rounds (default: 3)
  -n, --numbers <numbers...>  define min and max numbers (default: [1,100])
  -h, --help                  display help for command

Preview of brain-games

Brain-games with default options

asciicast

Brain-games with custom options

asciicast