How do I go about removing an event handler created in an arrow function so that when the score limit for my game is reached, the buttons stop working
Like the title says, I want to have the buttons stop adding score and updating the player/cpu choices on the page. But I can’t seem to figure out how to have that happen. Everything I’ve tried so far doesn’t work and the buttons keep on adding score + changing the choices on the page. I’ve … Read more