Blackbluue / drone_drillers

Drone mining game
MIT License
0 stars 0 forks source link

Add GUI #22

Closed Blackbluue closed 1 month ago

Blackbluue commented 1 month ago

Very basic GUI, primarily for testing future features. Will eventually overhaul the entire thing.

Summary by Sourcery

This pull request introduces a basic GUI for the Atron Mining Expedition, including a main controller, dashboard, and map window. It also adds new classes for map handling, drone management, and various utilities. Additionally, a GitHub Actions workflow for pylint has been added to maintain code quality.

sourcery-ai[bot] commented 1 month ago

Reviewer's Guide by Sourcery

This pull request introduces a basic GUI for the Atron Mining Expedition game. The changes include the addition of several new files to support the GUI, modifications to the main script to integrate the GUI, and the creation of utility modules to support the game's functionality. The GUI is designed to display information about the drones and their actions, and it will be further developed in future updates.

File-Level Changes

Files Changes
main.py
gui/main_controller.py
gui/dashboard.py
gui/map_window.py
gui/label_counter.py
Introduced a basic GUI for the game, including the main controller, dashboard, map window, and labeled counter.
utils/__init__.py
utils/map.py
utils/tile.py
utils/coordinate.py
utils/icon.py
utils/counter.py
utils/context.py
utils/directions.py
Added utility modules to support the game's functionality, including map representation, tile management, coordinates, icons, counters, context, and directions.
units/ally/overlord.py
units/ally/drones/drone.py
units/ally/atron.py
Added classes for managing drones and their actions, including the Overlord, Drone, and Atron base class.
.github/workflows/pylint.yml Added GitHub Actions workflow for running pylint on pull requests.

Tips - Trigger a new Sourcery review by commenting `@sourcery-ai review` on the pull request. - You can change your review settings at any time by accessing your [dashboard](https://sourcery.ai/dashboard): - Enable or disable the Sourcery-generated pull request summary or reviewer's guide; - Change the review language; - You can always [contact us](mailto:support@sourcery.ai) if you have any questions or feedback.