UNPKG

brain-games-echo

Version:

My firts project for hexlet.io. I hope it's not the last. This is a just casual project (for someone).

65 lines (55 loc) 2.24 kB
# project-lvl1-s332 [![Code Climate](https://codeclimate.com/github/echonok/project-lvl1-s332/badges/gpa.svg)](https://codeclimate.com/github/echonok/project-lvl1-s332) [![Issue Count](https://codeclimate.com/github/echonok/project-lvl1-s332/badges/issue_count.svg)](https://codeclimate.com/github/echonok/project-lvl1-s332) [![Build Status](https://travis-ci.org/echonok/project-lvl1-s332.svg?branch=master)](https://travis-ci.org/echonok/project-lvl1-s332) ### Discription My firts project for hexlet.io. I hope it's not the last. This is a just casual project (for someone). ### Instalation Before installing, make sure you have npm and node.js installed. ``` npm i -g brain-games-echo ``` This will install package globaly [![asciicast](https://asciinema.org/a/Jg6DolQMqrP6LyGL9kesrJ36t.png)](https://asciinema.org/a/Jg6DolQMqrP6LyGL9kesrJ36t) ### Greetings and main menu May I have your name? ``` brain-games ``` [![asciicast](https://asciinema.org/a/MfJz4s6cor121APFYwIICv9GX.png)](https://asciinema.org/a/MfJz4s6cor121APFYwIICv9GX) ### Even game Answer "yes" if number even otherwise answer "no". ``` brain-even ``` [![asciicast](https://asciinema.org/a/mN0yzytR6GCXSbSnTcjWN7cTl.png)](https://asciinema.org/a/mN0yzytR6GCXSbSnTcjWN7cTl) ### Calculate game What is the result of the expression? ``` brain-calc ``` [![asciicast](https://asciinema.org/a/gNGFD4Op2Pbo5Vy18V9OKjeQk.png)](https://asciinema.org/a/gNGFD4Op2Pbo5Vy18V9OKjeQk) ### GCD game Find the greatest common divisor of given numbers. ``` brain-gcd ``` [![asciicast](https://asciinema.org/a/E28FfqH7zTIuV5DXJKFTEP42U.png)](https://asciinema.org/a/E28FfqH7zTIuV5DXJKFTEP42U) ### Balance game Balance the given number. ``` brain-balance ``` [![asciicast](https://asciinema.org/a/uRHiQjxCHgX4R3SysXZfWq1Nz.png)](https://asciinema.org/a/uRHiQjxCHgX4R3SysXZfWq1Nz) ### Progression game What number is missing in this progression? ``` brain-progression ``` [![asciicast](https://asciinema.org/a/0sQM7U380YjiPlR4Hiw2oxB5I.png)](https://asciinema.org/a/0sQM7U380YjiPlR4Hiw2oxB5I) ### Prime game Is this number prime? (yes/no) ``` brain-prime ``` [![asciicast](https://asciinema.org/a/E6LTEcaYO0s8rMdgIripumoYx.png)](https://asciinema.org/a/E6LTEcaYO0s8rMdgIripumoYx)