Hey guys, been working on my first panda project, sort of a culmination of my explorations of the different tutorials and samples I have found.
I am thinking about starting on something new, I have a game concept in mind, so I thought I would publish this here and invite you guys to help me learn from my mistakes ^.^
Seriously though, I would like to improve this; The collision is horrible and I would like to be able to fix Mercury & Mars’ orbits. Additionally, I don’t know how to break it into separate classes, so any advice on that would be welcome as well.
When you’ve some repeated code, that’s a clue about something you can improve from an software engineering point of view. I didn’t study your code deeply, but these parts of code which define the planets suggest me that you may improve your code defining a class Planet and inserting the “right” code inside it.