fix: share emoji fills remaining slots with black squares when game is lost

This commit is contained in:
Hördle Bot
2025-11-27 13:06:01 +01:00
parent 5da78c926d
commit 9df9a808bf

View File

@@ -262,7 +262,8 @@ export default function Game({ dailyPuzzle, genre = null, isSpecial = false, max
emojiGrid += '🟥';
}
} else {
emojiGrid += '⬜';
// If game is lost, fill remaining slots with black squares
emojiGrid += hasLost ? '⬛' : '⬜';
}
}