Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Modules
#1
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.
I welcome all feedback.
The only dumb question, is one that doesn't get asked.
My Github
How to post code using bbtags


Reply


Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020