Our great sponsors
-
raccoon
Raccoon Music Player is a pocket-sized music player that shows raccoons dancing around a campfire while songs are playing. (by bandit-masked)
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
DearPyGui
Dear PyGui: A fast and powerful Graphical User Interface Toolkit for Python with minimal dependencies
Let me tell you, making a game from scratch has been the greatest learning experience of my coding career. It's not much, but I'm pretty proud of what I've got so far. "Laser Flag" is like a heavily simplified X-Com variant for 2 players, with a nonviolent laser tag theme so I can play it with my daughters. I just got it to a state where I'm comfortable releasing a beta: https://github.com/jsl840314/laser_flag
I use this website for a list of various projects! Most are in Python https://www.codedex.io/projects.
With regard to structuring the files, I watched a few videos on Model-View-Controller and similar approaches for inspiration. I tried to separate the model, view and controller logic for the GUI and audio functionality, although that may not be 100% possible. It is partly dependent on the libraries that you are using, so your approach may vary. You could check out some of the apps in the Dear PyGui showcase gallery to learn how they structured their files. https://github.com/hoffstadt/DearPyGui/wiki/Dear-PyGui-Showcase