Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
elif anweisung in richtungen:
neuerOrt = False
for i in range(4):
if anweisung == richtungen[i] and orte[self.__Position].getAusgang()[i] >= 0:
print("\nDu suchst einen neuen Ort auf.")
self.__Position = orte[self.__Position].getAusgang()[i]
neuerOrt = True
if neuerOrt:
print("\nIn diese Richtung kannst du nicht gehen.\n")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.