fix: Simplify win status message in generate_board_image function
This commit is contained in:
parent
2a4d097c2e
commit
49800bc626
@ -294,7 +294,7 @@ def generate_board_image(game: WordleGame, used_letters: Set[str] = None) -> dis
|
|||||||
# Add game result if game is over
|
# Add game result if game is over
|
||||||
if game.game_over:
|
if game.game_over:
|
||||||
if game.won:
|
if game.won:
|
||||||
status_text += f" - You won! The word was {game.word.upper()}."
|
status_text += f" - You won!"
|
||||||
else:
|
else:
|
||||||
status_text += f" - Game over! The word was {game.word.upper()}."
|
status_text += f" - Game over! The word was {game.word.upper()}."
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user