coppolaemilio/StellarGameEngine

__init__.py in sge-pygame is a bit too big

Closed this issue · 3 comments

Well, I'm not sure if it's intentional but 4683 lines of code is a bit too much. At least for someone not familiar with the code but interested in helping out.

How about splitting it into a few more files?

Yeah, I agree, and I'll work on this. It's all in init.py because it was written from the beginning with no regard for multiple files, which was clearly a mistake. I might even end up modifying the specification so it works more intuitively with several modules.

Great!

Keep up the great work you do at Stellar!

Alright, as of b33448a SGE is now finally split into multiple files (for both the Pygame implementation and the template). Luckily, I didn't have to break compatibility.