Snokke / brain-games-hexlet-project1

Brain games. 6 terminal based mini-games

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Brain games

Maintainability Build Status

Install

npm install -g project1-snokke

Usage

There are 6 terminal based mini-games: balance, calc, even, gcd, prime, progression. To run specific game, type:

  • brain-even
  • brain-calc
  • brain-gcd
  • brain-balance
  • brain-progression
  • brain-prime

Demo

Game brain-even:

bash-3.2$ brain-even
Welcome to the Brain Games!
Answer "yes" if number even otherwise answer "no".

May I have your name? Andrei
Hello, Andrei!

Question: 84
Your answer: yes
Correct!
Question: 41
Your answer: no
Correct!
Question: 34
Your answer: yes
Correct!
Congratulations, Andrei!

Asciinema`s of all games:

About

Brain games. 6 terminal based mini-games


Languages

Language:JavaScript 98.6%Language:Makefile 1.4%