posted 1 year ago
I'm making a javascript game, and I want the player to be able to press enter to start the game but remove the event listener during the game, and re-add it after the player has died.
My code is
however, I cannot supply the event and the function does not work.
Hackcraft_
I'm a highschool student who really likes coding (have 6 years of experience)