sidnnov / brain-games

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Hexlet tests and linter status:

Actions Status Maintainability

A little about the project:


This is the educational project of the 1st module, the training program for Nehlet, the Python developer profession. Contains five games with similar logic.

Install hexlet-code


python 3.8+ is required to install hexlet-code. And also need poetry for the assembly of the project.

$ poetry build

$ python3 -m pip install --user dist/*.whl

Description of the Make commands:

install:
	poetry install

build:
	poetry build

package-install:
	python3 -m pip install --user dist/*.whl

reinstall:
	pip install --user --force-reinstall dist/*.whl

lint: 
	poetry run flake8 brain_games

Running games:

$ brain-even

$ brain-calc

$ brain-gcd

$ brain-progression

$ brain-prime

Setup example:

asciicast

My examples of games:

Parity check game 🡾 asciicast

Calculator game 🡾 asciicast

Greatest common divisor 🡾 asciicast

Arithmetic progression 🡾 asciicast

Is it a prime number? 🡾 asciicast

About


Languages

Language:Python 90.9%Language:Makefile 9.1%