From 2c6cf76a10e50988ec1136873b262ec142e28aa7 Mon Sep 17 00:00:00 2001 From: SpudGunMan Date: Mon, 30 Sep 2024 03:17:15 -0700 Subject: [PATCH] Update mmind.py --- modules/mmind.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/modules/mmind.py b/modules/mmind.py index 8628cce..31844fa 100644 --- a/modules/mmind.py +++ b/modules/mmind.py @@ -141,10 +141,12 @@ def playGameMMind(diff, secret_code, turn_count, nodeID, message): msg += check_guess if won == True: msg += "\nšŸŽ‰šŸ§  You guessed the code! {}".format(getEmojiMMind(secret_code)) - endGameMMind(nodeID) + msg += "\nIt took you {} turns to guess the code.".format(turn_count) + msg += "\nWould you like to play again? Start guessing or'end' to quit." elif turn_count >= 11 and won == False: msg += "\nGame Over! The code was: {}".format(getEmojiMMind(secret_code)) - endGameMMind(nodeID) + msg += "\nYou have run out of turns." + msg += "\nWould you like to play again? Start guessing or 'end' to quit." turn_count += 1 # store turn count in tracker for i in range(len(mindTracker)):