littelbit-brain-games
Version:
hexlet brain-games
38 lines (29 loc) • 1.96 kB
Markdown
# BRAIN GAMES
Your attention is offered six games developed within the framework of the training project hexlet.io level 1. The game process takes place in the console.
At the beginning of each game is an acquaintance - you need to enter a name, which you will be contacted. To win, you must correctly answer three questions, in case of an incorrect answer the game ends.
**For the winners in all the games there is a prize - increase self-esteem.**
1. To use the game brain-games you need: **node js 8, npm 5.6.0**
1. Install in terminal: `npm install -g littelbit-brain-games`
[<< video instalation >>](https://asciinema.org/a/0p8ApwQYEXDxSbCtnuNZdlWwR)
1. Common rule: you must given three time right answers to win.
1. The games. Please type in terminal one of this and press enter:
- `brain-even`
**Is the number even?** [ >> video game process](https://asciinema.org/a/QWqMzPwE6OBOJ2vJBWt0CJqX5)
- `brain-calc`
**Calculate expression**
[ >> video game process](https://asciinema.org/a/5cugvsixRqs9iWjnNaoG7b78U)
- `brain-gcd`
**Find greatest common divisor**
[ >> video game process](https://asciinema.org/a/uIRtusj54s7GbfRyIijHzyo52)
- `brain-balance`
**Calculate balance number**
[ >> video game process](https://asciinema.org/a/3CV9dLo3EEMScEiHZhmC8RbXU)
- `brain-progression`
**Calculate missing number into progression**
[ >> video game process](https://asciinema.org/a/QK63eZqOw8hMAO5cKOcep7Vtj)
- `brain-prime`
**Is the number prime?**
[ >> video game process](https://asciinema.org/a/hfGeIv6iRkXLxYe6O7cxNWmY0)
Enjoy!
<a href="https://codeclimate.com/github/windyeti/project-lvl1-s316/maintainability"><img src="https://api.codeclimate.com/v1/badges/51fae15e4c5ccd006851/maintainability" /></a>
[](https://travis-ci.org/windyeti/project-lvl1-s316)