Skip to content

RossJeanCarter/Brain-Games

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Brain Games

Hexlet tests and linter status:

Actions Status

Maintainability

Description:

Brain Games is a Hexlet project which consists of 5 mini-games that are executed in a console.

Installation:

git clone https://github.com/RossJeanCarter/Brain-Games.git
make install
npm link
After the installation just type the name of the games given below and you are ready to play.

Games:

brain-calc

Description:

the user is shown a random mathematical expression. The user's task is to give the right answer.

Example:

asciicast

brain-even

Description:

the user is shown a random number. He needs to respond "yes" or "no".

Example:

asciicast

brain-gcd

Description:

the user is shown two random numbers. He needs to calculate the greatest common divisor of these numbers.

Example:

asciicast

brain-prime

Description:

the user is shown a random number. He needs to answer whether the number is prime or no, giving the reponse "yes" or "no".

Example:

asciicast

brain-progression

Description:

the user is shown a random arithmetic progression. One number is hidden behind the two points. The user needs to guess the number.

Example:

asciicast

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published