Skip to content

Ledchig/five-brain-games

Repository files navigation

Hexlet tests and linter status:

Actions Status

Brain-games:

These are five console games:

• Brain-even - you need to determine the number for parity.

• Brain-calc - you need to calculate a pair of numbers.

• Brain-gcd - you need to calculate and output the greatest common divisor of these numbers.

• Brain-prime - you need to determine a prime number or not a prime number.

• Brain-progression - you need to identify the hidden number.

Answer the questions and by typing three correct answers without mistakes you will win!

GOOD LUCK!

Starting the game

To choose one of them, write "brain-even", "brain-calc", "brain-gcd", "brain-prime" or "brain-progression" in your console.

Installation

Clone this repository on your machine and write "sudo make install" in the project directory.

Game demonstrations

• Brain-even - you need to determine the number for parity.

• Brain-calc - you need to calculate a pair of numbers.

• Brain-gcd - you need to calculate and output the greatest common divisor of these numbers.

• Brain-prime - you need to determine a prime number or not a prime number.

• Brain-progression - you need to identify the hidden number.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published