Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/paveldeuce/brain-games

Simple CLI brain-games for kids
https://github.com/paveldeuce/brain-games

babel brain-games codeclimate eslint games javascript jest jest-tests makefile mathematics prettier travis-ci

Last synced: 5 days ago
JSON representation

Simple CLI brain-games for kids

Awesome Lists containing this project

README

        

# brain-games

[![Build Status](https://travis-ci.org/PavelDeuce/brain-games.svg?branch=master)](https://travis-ci.org/PavelDeuce/brain-games)
[![Maintainability](https://api.codeclimate.com/v1/badges/d4b683a45f74dc407b49/maintainability)](https://codeclimate.com/github/PavelDeuce/frontend-project-lvl1/maintainability)
[![Test Coverage](https://api.codeclimate.com/v1/badges/d4b683a45f74dc407b49/test_coverage)](https://codeclimate.com/github/PavelDeuce/frontend-project-lvl1/test_coverage)

## BrainGames install

`$ npm install -g deuce-brain-games`

Type brain-games to get all games:

`$ brain-games`

The list of games with their description:

* `brain-even`: Answer "yes" if number even otherwise answer "no".
* `brain-calc`: What is the result of the expression?
* `brain-gcd`: Find the greatest common divisor of given numbers.
* `brain-progression`: What number is missing in the progression?
* `brain-prime`: Answer "yes" if given number is prime. Otherwise answer "no".
* `brain-fibonacci`: What is the missed member of The Fibonacci sequence?
* `brain-factorial`: What is the factorial of the number?

This is an example how to install and how to play brain-games!
[![asciicast](https://asciinema.org/a/G0jk4ogvWc76NS79p8PnsHro3.svg)](https://asciinema.org/a/G0jk4ogvWc76NS79p8PnsHro3)