Skip to content

volkov-timofey/Brain-Games

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hexlet tests and linter status:

Actions Status Maintainability

This game that runs in the terminal. 100% Python.

Installation

Make sure you are running at least Python 3.10.0

Clone the repository and install manually:

$ git clone https://github.com/volkov-timofey/Brain-Games.git
$ cd Brain-Games
$ make full # build, publish in pip, package-install

Start Games

Game: "Check for even"
  • Rules:

    To win, you need to correctly answer the proposed tasks 3 times. If you make a mistake, try starting over.

To start the game, run either:

$ brain-even
Game: "Calculator"
  • Rules:

    To win, you need to correctly answer the proposed arithmetic tasks (only +, - or *) 3 times. If you make a mistake, try starting over.

To start the game, run either:

$ brain-calc
Game: "Greatest Common Divisor (GCD)"
  • Rules:

    Two random numbers are displayed on the screen, for example, 25 50. It is necessary to calculate and enter the greatest common divisor of these numbers. To win, you need to correctly answer the proposed tasks 3 times. If you make a mistake, try starting over.

To start the game, run either:

$ brain-gcd
Game: "Arithmetic progression"
  • Rules:

    It is necessary to determine the missing number in an arithmetic progression. To win, you need to correctly answer the proposed tasks 3 times. If you make a mistake, try starting over.

To start the game, run either:

$ brain-progression
Game: "Is it a prime number?"
  • Rules:

    Need to answer if the number is prime. To win, you need to correctly answer the proposed tasks 3 times. If you make a mistake, try starting over.

To start the game, run either:

$ brain-prime

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published