Code: Alles auswählen
def mainmenu():
print("Welcome to TamrielPP")
print("")
print("Start game: S")
print("Exit: E")
vcontrol = input("")
if (vcontrol == ("s" or "S")):
startgame()
if (vcontrol == ("e" or "E")):
exit
else:
print ("Sorry, this input could not be found, please try again")
mainmenu()
def startgame():
loadsaves()
def loadsaves():
startnewgame()
def startnewgame():
print("Done")
mainmenu()
Ich entschuldige mich, wenn der Fehler offensichtlich ist, ich habe den Code gestern Abend geschrieben und heute morgen noch eine Stunde dran herumgehangen, was bei diesem enorm kurzen Stück schon beachtlich viel ist...
Danke und lg,
Lucas