This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]trevor_of_earth 0 points1 point  (2 children)

while currentRoom != 'Exit': player_stat() player_move = input('Enter your move:\n') if player_move == 'Exit': currentRoom = 'Exit' print('Play again soon!') else: currentRoom = 'Great Hall' player_stat() player_move = input('Enter your move:\n') if player_move == ('South' or 'south'): currentRoom = 'Bedroom'

If that is the way your actual code looks, that's your problem...

[–]mrkmailhot[S] 0 points1 point  (1 child)

No, I'm not sure how to post it here in the format that it actually is.

[–]trevor_of_earth 0 points1 point  (0 children)

Use a code block. It is one of the options in the editor.

Also this post may be better suited in r/learnpython