Adds ability to use keyboard to input letters, backspace to delete letters, and enter to submit words.
Because the "enter" key now allows the submission of words without any validation (i.e. the word length does not need to be at least 4 in order to press "enter"), we need more error messages to precisely describe why a word is not accepted. This more accurately mimics the behavior of the original game, but differs from how this clone is implemented.
Preview:
Also quick fix to make cursor: default on disabled buttons.
Adds ability to use keyboard to input letters, backspace to delete letters, and enter to submit words.
Because the "enter" key now allows the submission of words without any validation (i.e. the word length does not need to be at least 4 in order to press "enter"), we need more error messages to precisely describe why a word is not accepted. This more accurately mimics the behavior of the original game, but differs from how this clone is implemented.
Preview:
Also quick fix to make
cursor: default
on disabled buttons.