UNPKG

anf-project-lvl1-braingames

Version:

Games with numbers

54 lines (31 loc) 1.81 kB
# BRAIN GAMES PROJECT <a href="https://codeclimate.com/github/anfieldka/frontend-project-lvl1/maintainability"><img src="https://api.codeclimate.com/v1/badges/b75937a2dc8eb984003a/maintainability" /></a> <a href="https://travis-ci.org/anfieldka/frontend-project-lvl1"><img src="https://travis-ci.org/anfieldka/frontend-project-lvl1.svg?branch=master" /></a> ## Installation ``` npm i anf-project-lvl1-braingames -g ``` ## You will find 5 games inside this package: ``` brain-even, brain-calc, brain-gcd, brain-balance, brain-prime ``` >Even game >>Answer 'yes' if number even otherwise answer 'no'. **brain-even** >Calc game >>What is the result of the expression? **brain-calc** >Greatest common divisor game >>Find the greatest common divisor of given numbers **brain-gcd** >Progression >>What number is missing in this progression? **brain-progression** >Prime number game >>Ask yes if number is prime **brain-prime** <h3><em>Even game</em></h3> <a href="https://asciinema.org/a/sF8Gry44j2qNORuHpRoAY3aKK"><img src="https://asciinema.org/a/sF8Gry44j2qNORuHpRoAY3aKK.png" width="836"/></a> <h3><em>Calc game</em></h3> <a href="https://asciinema.org/a/lbKnzRHleFOrkf0qnvMLcEOmb"><img src="https://asciinema.org/a/lbKnzRHleFOrkf0qnvMLcEOmb.png" width="836"/></a> <h3><em>GCD game</em></h3> <a href="https://asciinema.org/a/99dpyHzXbI3mxIbrluOcZAqMn"><img src="https://asciinema.org/a/99dpyHzXbI3mxIbrluOcZAqMn.png" width="836"/></a> <h3><em>Progression game</em></h3> <a href="https://asciinema.org/a/cjWqys1yLOQIts4webZE1HtRC"><img src="https://asciinema.org/a/cjWqys1yLOQIts4webZE1HtRC.png" width="836"/></a> <h3><em>Prime game</em></h3> <a href="https://asciinema.org/a/yXDeOftAFQQ6whLz7DYwc8yyz"><img src="https://asciinema.org/a/yXDeOftAFQQ6whLz7DYwc8yyz.png" width="836"/></a>