How not to give points for second time

Initialize variable = 0

At the button’s onclick event

If variable = 0
give points
variable receives the value 1

Thats all

3 Likes