You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Each click of a character button is potentially handled by multiple event-handlers. Each letter in the word binds a keydown event-listener to the window, which reports the press to the letter and the letter determines if it has been guessed. There is another keydown listener (also on the window) that simulates a click on the appropriate letter-indicator.
When a word is completed, it is quickly replaced, before the indicator can be notified of the event. By the time the indicator is notified that it should deactivate, the next word is in place and the indicators have all been reset for the new game. You start, then, with a letter seemingly already deactivated. The bug only occurs in the higher game-speeds, where the next word is loaded more quickly.
The text was updated successfully, but these errors were encountered:
Each click of a character button is potentially handled by multiple event-handlers. Each
letter
in the word binds akeydown
event-listener to the window, which reports the press to the letter and the letter determines if it has been guessed. There is anotherkeydown
listener (also on the window) that simulates a click on the appropriateletter-indicator
.When a word is completed, it is quickly replaced, before the indicator can be notified of the event. By the time the indicator is notified that it should deactivate, the next word is in place and the indicators have all been reset for the new game. You start, then, with a letter seemingly already deactivated. The bug only occurs in the higher game-speeds, where the next word is loaded more quickly.
The text was updated successfully, but these errors were encountered: