Python Forum
Modules - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: General (https://python-forum.io/forum-1.html)
+--- Forum: News and Discussions (https://python-forum.io/forum-31.html)
+--- Thread: Modules (/thread-40971.html)



Modules - menator01 - Oct-22-2023

I'm re-writing my shmup code and breaking it down into modules. My question is, should I put each class into separate modules?
As of now I have a page module that has a start page and handles labels and text. I have a player module that creates the player and mobs. I also have a bullets class in the player module and thinking about giving it it's own module. I have a shield class that I'm also thinking about giving it its' own module. How many is too many? It's just for practice purposes.

I would appreciate any insight.

Thanks



I put the bullet and shield class in the same module.