crosswordnexus / html5-crossword-solver

An HTML5 crossword solver that can handle JPZ files
BSD 3-Clause "New" or "Revised" License
9 stars 12 forks source link

Show actual cell content on reveal or puzzle complete #94

Closed crosswordnexus closed 2 years ago

crosswordnexus commented 2 years ago

This is mostly useful for rebus puzzles or puzzles with, say, emoji in cells

In this case if there's a reveal or a puzzle complete we don't want to mark the square as having been wrong, but we do want to replace the cell's contents with the "solution" value

So in pseudocode: if solution != filled_letter but not_incorrect: letter = solution

crosswordnexus commented 2 years ago

Resolved with https://github.com/crosswordnexus/html5-crossword-solver/pull/95