Update mmind.py

resolved https://github.com/SpudGunMan/meshing-around/issues/74
This commit is contained in:
SpudGunMan
2024-09-30 16:53:11 -07:00
parent 2b695e2f2e
commit 90094c082a
+3 -1
View File
@@ -214,8 +214,10 @@ def compareCodeMMind(secret_code, user_guess):
msg += f"Guess:{getEmojiMMind(user_guess)}\n"
if perfect_pins > 0 and game_won == False:
msg += "✅ color ✅ position: {}\n".format(perfect_pins)
msg += "✅ color ✅ position: {}".format(perfect_pins)
if wrong_position > 0:
if "" in msg:msg += f"\n"
msg += "✅ color 🚫 position: {}".format(wrong_position)
if "" not in msg and game_won == False: