Jesus christ, you have helped me in every single thread I've created. Thank you man
The multi-line string is really gonna come in handy, thank you.
I have stumbled upon a new problem after fixing those bugs.
Class 'player' has no 'game_over' member. it cleary has at "self.game_over = False"
The multi-line string is really gonna come in handy, thank you.
I have stumbled upon a new problem after fixing those bugs.
class player(): def __init__(self): self.name = '' self.job = '' self.hp = 0 self.mp = 0 self.status_effects = [] self.location = 'a1' self.game_over = False myPlayer = player def main_game_loop(): while myPlayer.game_over is False: prompt()This code gives the error (line 13):
Class 'player' has no 'game_over' member. it cleary has at "self.game_over = False"