feat: update share result emojis to distinguish failed (red) vs skipped (black) attempts
This commit is contained in:
@@ -120,9 +120,12 @@ export default function Game({ dailyPuzzle, genre = null, isSpecial = false, max
|
||||
// If this was the winning guess (last one and won)
|
||||
if (hasWon && i === gameState.guesses.length - 1) {
|
||||
emojiGrid += '🟩';
|
||||
} else {
|
||||
// Wrong or skipped
|
||||
} else if (gameState.guesses[i] === 'SKIPPED') {
|
||||
// Skipped
|
||||
emojiGrid += '⬛';
|
||||
} else {
|
||||
// Wrong guess
|
||||
emojiGrid += '🟥';
|
||||
}
|
||||
} else {
|
||||
// Unused attempts
|
||||
|
||||
Reference in New Issue
Block a user