Created
April 28, 2020 07:01
-
-
Save BMU-Verlag/b27dde9427a110557b0aad7af38be7c8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: | |
break | |
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