Skip to content

Latest commit

 

History

History
53 lines (28 loc) · 2.39 KB

README.md

File metadata and controls

53 lines (28 loc) · 2.39 KB

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.