After about a week of working on this, I’ve completed my ex45 game.
I used the game engine and map from the previous game excercise. But I made a player class, and a player object, that made it easier to not retype certain types of code.
I was racking my brain on how to add all the things a player can do into the class, but then it was conceptually very difficult for me to think about it.
For example, each class for each room like : Class CaveOfWonders(scene):
contains many of the similar if and elif statements about movement. Hopefully I will be able to learn more python and be able to do it in the future.
Player Class, should be able to contain the code that allows a player to move.
Class Rooms(Scene): should just contain the code for the room itself, e.g. Display description. Display items. Display enemies.
Player Object should interact with those elements.