Skip to content

younggentech/Minesweeper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Overview

Last prod deploy: 30.08.2023
Despite production version exists, it is highly recommended to run code locally due to long deploy cycles. The project demonstrates the first try of fully object oriented architecture, taking advantage of some design patterns. Bot fully supports English and Russian languages. Tests were written to demonstrate knowledge of pytest parametrize and unittest MagicMock.
Bot has a small CI building a docker image and running tests.

Run bot

Without docker:

Create .env file with field TOKEN=<your_token> and start main.py

With docker:

docker build --build-arg TOKEN="<your_token>" -t bot .
docker run -t bot

Extras

Known prod issues:

  • Statistics is not showed if you have played zero games. It is fixed in the code, but not deployed.

Architecture inspired by Yandex Backend School
Docker and CI ideas inspired by Tinkoff Backend Academy

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published