Skip to content

radislaw/Brain-games

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Brain-games

Maintainability Build Status

Description

This is CLI mini math games. Set consist of 6 games:

  1. brain-even
  2. brain-calc
  3. brain-gcd
  4. brain-balance
  5. brain-progression
  6. brain-prime

Installation

npm i -g ya-brain-games

Play

In terminal you have to type brain-games or name of one of given game. For example: brain-even

Game's rules

Every game has 3 rounds. If you give right answer on any offered question it lets you go to the next round otherwise game over, which reports message with correct answer.

Brain even

Answer "yes" if number even otherwise answer "no".

setup

brain-even

Brain calc

Answer the result of the expression.

setup

brain-calc

Brain gcd

Find the greatest common divisor of given numbers.

setup

brain-gcd

Brain progression

Find the missing number of given progression.

setup

brain-progression

Brain prime

Answer "yes" if number is prime otherwise answer "no".

setup

brain-prime

Demo

asciicast

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published