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: about 2 months ago
JSON representation
Simple CLI brain-games for kids
- Host: GitHub
- URL: https://github.com/paveldeuce/brain-games
- Owner: PavelDeuce
- Created: 2019-10-02T11:38:06.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-03-03T07:32:15.000Z (almost 3 years ago)
- Last Synced: 2025-06-28T11:08:27.892Z (8 months ago)
- Topics: babel, brain-games, codeclimate, eslint, games, javascript, jest, jest-tests, makefile, mathematics, prettier, travis-ci
- Language: JavaScript
- Homepage:
- Size: 499 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# brain-games
[](https://travis-ci.org/PavelDeuce/brain-games)
[](https://codeclimate.com/github/PavelDeuce/frontend-project-lvl1/maintainability)
[](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!
[](https://asciinema.org/a/G0jk4ogvWc76NS79p8PnsHro3)