From 3e3134624f2bb4806e39c6ddd1efc017481e142d Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Sun, 20 Sep 2015 20:28:39 +0200 Subject: [PATCH] Print --- adventuremode.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/adventuremode.py b/adventuremode.py index 0e4b4d8e..b2183b8e 100644 --- a/adventuremode.py +++ b/adventuremode.py @@ -85,8 +85,8 @@ def treScelte(puno, pdue, ptre): 'keyboard': [[puno, pdue, ptre]], 'one_time_keyboard': True, } - print("Cosa vuoi fare?\n1: " + puno + "\n2: " + pdue + "\n3: " + ptre) - sendMessage(chr(10067) + "Cosa vuoi fare?\n1: " + puno + "\n2: " + pdue + "\n3: " + ptre, json.dumps(tastiera)) + print("Cosa volete fare?\n1: " + puno + "\n2: " + pdue + "\n3: " + ptre) + sendMessage(chr(10067) + "Cosa volete fare?\n1: " + puno + "\n2: " + pdue + "\n3: " + ptre, json.dumps(tastiera)) #Aspetta una risposta... waiting = True while(waiting): @@ -104,6 +104,7 @@ def vita(var): hp = hp + var sendMessage(chr(10084) + ' ' + str(var) + "\n" + "Ora avete " + str(hp) + " punti vita.") if(hp <= 0): + print("Game over...") sendMessage("Hai finito la vita! Game over!") sys.exit()