Skip to content

lawyer-arch/python-project-49

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

109 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hexlet tests and linter status: Actions Status

Code Climate Maintainability

Description

Hexlet Code is a collection of 5 math-related games designed to challenge and improve your arithmetic skills. The games include:

  1. Checking if a number is prime
  2. Inserting a number into an arithmetic progression
  3. Providing the result of a calculation (multiplication, addition, subtraction)
  4. Answering if a number is even
  5. Finding the greatest common divisor of two numbers

Installation

To install the games, ensure you have Poetry installed on your machine, then run the following commands:

    make install

Games

  • To start playing, you can run the following commands:
    ** To play "Check if a number is prime":
    make brain-prime

  • To insert a number into an arithmetic progression:
    make brain-progression

  • To provide the result of a calculation:
    make brain-calc

  • To answer if a number is even:
    make brain-even

  • To find the greatest common divisor of two numbers:
    make brain-gcd

After installing the package using pip install --user, all commands can be executed without poetry run (simply brain-calc, not poetry run brain-calc).
Asciinema records

Entry via link: brain_even, brain_calc, brain_gcd, brain_progression, brain_prime

Установка зависимостей

Before installing dependencies, make sure you have uv installed. If you don't have it, install it with:

`pipx install uv` or `pip install uv`

More information about uv can be found in the official repository.

After installing uv run:

`uv sync`

About

Игры разума -это коллекция из 5 игр, связанных с математикой, предназначенной для оспаривания и улучшения ваших арифметических навыков.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors