David PPro Student 1,162 Points
My code is not working because it keeps saying player is not define. Did anyone else have this problem with the game?
Does Kenneth ever define player in his code and if so please share with me where. My dungeon game will not work with code valid_moves = get_moves(player) since player is not defined.
Mischa Yartsev20,490 Points
David P, I think I know the answer on your question without seeing your code.
player variable was defined right above the while True loop, together with the monster and door variables:
monster, player, door = get_locations()
So, the function get_locations() was kinda unpacked unique locations for each variables respectively.
Hope, it helps!
FHATUWANI Dondry MUVHANGO17,796 Points
It will be better if you post your code, so that we can have an idea of were exactly the problem is