My professor scheduled my assignment today based on object-oriented programming in Pygame. Basically, he said that the game we have to create will be deprived of the main game cycle. Although I believe that this is possible (and this question stated that it is possible), I do not believe that this is necessary for adherence to an object-oriented paradigm.
On the diagram given by the professor, he showed the initialization of the game and, since the objects were created, the control flow of the program will be distributed between the objects.
Basically, I believe that it would be possible to implement the game in this way, but that would not be an ideal way and would not be required for an object-oriented commitment. Any thoughts?
EDIT: We are creating a clone of asteroids, which, I believe, further complicates the situation because it is a real-time game.
source
share