Hi, I’m trying to make a game that counts when you’re playing to. I decided to allow the players to select to what value they are playing to, so I put an input to check how far they want to play to, and declare a variable which consists of the value of that input.
The problem is when the input changes, the value of variable changes. Any help? Any suggestions? Thanks
Hi sorry for the late reply, I got the solution hahaha, i should have updated it within an add event listener function. Thank you for taking the time to reply to me