Skip to content

nf9c/frontend-project-44

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Brain Games

A collection of console games for quick wits. To win each game you must give the right answer to 3 questions.

Installation

To install games, type the command make install at linux console.

Launch

List of commands for launching games:

  • make brain-calc Launches "Brain-Calc" game. You are shown a random mathematical expression that you have to calculate and write down the correct answer.
  • make brain-even Launches "Brain-Even" game. You are shown a random number. Answer "yes" if the number is even, otherwise answer "no".
  • make brain-gcd Launches "Brain-GCD" game. You are shown two random numbers. Find the greatest common divisor of given numbers!
  • make brain-prime Launches "Brain-Prime" game. You are shown a random number. Answer whether the number is prime or not.
  • make brain-progression Launches "Brain-Progression" game. You are shown a series of numbers forming an arithmetic progression. What number is missing in the progression?

Badges & Demonstration

Hexlet tests and linter status:

Actions Status

CodeClimate Maintainability test result:

Maintainability

Installation + brain-even test:

asciicast

brain-calc test:

asciicast

brain-gcd test:

asciicast

brain-progression test:

asciicast

brain-prime test:

asciicast

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published