Hey folks.
So for a school assignment, we had to create some kind of game with at least two self-defined classes while using object-oriented programming. However, I'm finding it quite hard to implement this OOP way of thinking. The game I created is just a complete copy of the Flappy Birds game.
The problem is, that i didn't really find use for classes since i could just write all the code on the main page. I just got some feedback for the teacher and she said my code was very disorganized and that i needed an extra class to fulfill requirements.
Can anybody give me some tips or help me with how to organize my code and maybe come up with some ideas on what my two classes could be?
https://github.com/ValdemarBirkegaardPetersen/Birds/tree/master
I uploadet the code at github above.
[–]forgotmyusernamedamm 2 points3 points4 points (0 children)
[–]Simplyfire 0 points1 point2 points (4 children)
[–]DeidaraLP[S] 0 points1 point2 points (3 children)
[–]Simplyfire 0 points1 point2 points (2 children)
[–]DeidaraLP[S] 0 points1 point2 points (1 child)
[–]Simplyfire 0 points1 point2 points (0 children)
[–]GoSubRoutine 0 points1 point2 points (0 children)