${
- displayWords.length === 0
+ isConfirmingReveal ? `
+
+
💡
+
Reveal All Word Solutions?
+
+ This will reveal all ${allPuzzleWords.length} words and their tile combinations for today's puzzle.
+
+
+
+
+
+
+ ` : displayWords.length === 0
? `
🔍
No words found in this category yet
Combine tiles on the board to discover valid words!
+ ${!isRevealed ? `
+
+ ` : ''}
`
: displayWords
.map(w => {
const isFound = state.foundWords.has(w.word.toLowerCase());
const isQuartile = w.tileCount === 4;
+ const clue = quartileDetailsMap.get(w.word.toLowerCase());
return `
-
+
${w.word.toUpperCase()}
- ${isQuartile ? ' ⭐' : ''}
- ${!isFound ? ' (Unfound)' : ''}
+ ${isQuartile ? ' ⭐' : ''}
+ ${
+ isFound
+ ? 'Found'
+ : 'Revealed'
+ }
- ${w.tileSegments.map(s => `${s.toUpperCase()}`).join('+')}
+ ${(w.tileSegments || []).map(s => `${s.toUpperCase()}`).join('+')}
+ ${clue ? `
💡 ${clue}
` : ''}
+${w.points}
@@ -103,12 +166,18 @@ export function createWordsDrawer({ onRevealAll }) {