Skip to content

Проект: "Игры разума" - набор из пяти консольных игр. Каждая игра задает вопросы, на которые нужно дать правильные ответы. После трех правильных ответов игра считается пройденной. Неправильные ответы приводят к завершению игры.

Notifications You must be signed in to change notification settings

qffo/python-project-49

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

92 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hexlet tests and linter status:

Actions Status Maintainability

Review

The project was created on the company's course Hexlet.

"Brain Games" is a set of five console games based on the principle of popular mobile applications for brain training. Each game asks questions that need to be answered correctly. After three correct answers, it is considered that the game is over. Incorrect answers end the game and offer to go through it again. Games:

The command to start the game Description
brain-calc Calculator. Arithmetic expressions that need to be calculated
brain-progression Progression. Finding missing numbers in a sequence of numbers
brain-even Determining an even number
brain-gcd Determining the greatest common divisor (GCD)s
brain-prime Determining a prime number

Minimum requirements for starting a project:

  • Python version 3.11 or higher
  • Pip version 24 or higher
  • Poetry version 1.8.2 or higher (you can use the make install command to install)

Installation and launch

  1. python3 -m pip install --user git+https://github.com/qffo/python-project-49.git
  2. The games are launched with the command brain-namegame. For example, brain-calc or brain-progression.
  3. To exit the game, press Ctrl + Z.

This project was built using these tools:

Tool Description
poetry "Python dependency management and packaging made easy"
prompt "Library for prompting input on the command line"
flake8 "Your tool for style guide enforcement"

Package install

asciicast

Brain Even. Run game and game process asciicast

Brain Calc. Run game and game process asciicast

Brain Gcd. Run game and game process asciicast

Brain Progression. Run game and game process asciicast

Brain Prime. Run game and game process asciicast

About

Проект: "Игры разума" - набор из пяти консольных игр. Каждая игра задает вопросы, на которые нужно дать правильные ответы. После трех правильных ответов игра считается пройденной. Неправильные ответы приводят к завершению игры.

Resources

Stars

Watchers

Forks

Packages

No packages published