Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Based on the description on MDN, pressing a wrong key shouldn't end the game, right? > Regardless of which one of the player control keys was pressed, remove the `keydown` event listener using `removeEventListener()` so that once the winning press has happened, no more keyboard input is possible to mess up the final game result.
- Loading branch information