Skip to content

worldspawn-web/brain-games

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

71 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hexlet tests and linter status:

Actions Status

Brain-Games

Description:

"Brain-Games" is a project that contains 5 console games that will train players brain. Each game asks 3 questions with random generated numbers. If player answer is incorrect, the game will end.

How to Install:

git clone https://github.com/worldspawn-web/frontend-project-44.git

npm i
npm link

How to run:

Starts the game "Even Check"

brain-even

Starts the game "Calculator"

brain-calc

Starts the "Greatest Common Divisor" game

brain-gcd

Starts the game "Arithmetic progression" game

brain-progression

Starts the game "Is It a prime number?"

brain-prime

"Even Check"

Description:

The player gets a random generated number, and the goal is to determine if the number is even or odd.

asciicast

"Calculator"

Description:

The player gets a random generated mathematical expression and the goal is to write the correct answer.

asciicast

"Great Common Divisor"

Description:

The players gets two random generated numbers and the goal is to calculate and enter the greatest common divisor of these two.

asciicast

"Arithmetic Progression"

Description:

The player gets an array of numbers forming in arithmetic progression, replacing any of the numbers with "..". The player must determine what number is being hidden.

asciicast

"Is that a prime number?"

Description:

The player gets a random number and the goal is to determine if the given number is prime.

asciicast

About

"Brain-Games". It's a project that contains 5 console games that will train players brain if played on regular basis.

Topics

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors