In the interest of maintaining coherency between episodes, I decided not to do that much refactoring, even when the alternative solution was a little clunkier. Things are becoming a little disorganized right now though (albeit still not that bad), so an episode on code structure is probably de rigueur.
Here are the things I'd like to take a look at making better:
If you have any other ideas, be sure to add them below as comments!
In the interest of maintaining coherency between episodes, I decided not to do that much refactoring, even when the alternative solution was a little clunkier. Things are becoming a little disorganized right now though (albeit still not that bad), so an episode on code structure is probably de rigueur.
Here are the things I'd like to take a look at making better:
Worldclass, which is then passed around everywhere. This should be what theGameclass is for instead.matrix.pywas never a good idea. Originally it was to reduce dependencies of the project, but it turns out it makes code needlessly verbose, which isn't worth it.If you have any other ideas, be sure to add them below as comments!