4 ms·
Some advice: you may want to improve the instructions of the game. There's no clear indication of what to do when the first 5-letter word has been typed - it me
by TuringTest 4y ago
Some advice: you may want to improve the instructions of the game. There's no clear indication of what to do when the first 5-letter word has been typed - it merely bumps the word if you type more letters, or shows a cryptic message "Type your guess on the keyboard to begin!" if the square is clicked.
As for visualizations, you may want to take a look at mathematical relations [1]. Each cell is a variable with the alphabet as its domain (which is pruned as you guess correct values), and the words are 5-arity relations between rows and columns. You may represent the local relations surrounding the cell pointed by the mouse.
[1] https://en.wikipedia.org/wiki/Relation_(mathematics)#Representation_of_relations https://en.wikipedia.org/wiki/Relation_(mathematics)#Represe...