So I'm trying to multiply the score with "pontboost" and "pont" variables.
The normal score(pont) is when the ball touches the line, it adds 1 value to the variable (variable + 1)
Btw I'm making a pong game and I want to let people customize the game so they can write a given value to a given textbox to change the score value. The given value is multipllying the normal score.
I don't know how to do it that the pontboost value should stay the same as the user given and the pont variable adds up by 1 every time that the ball touches the line.
The attached image is a wrong code!
Can anyone send me a right code?