Hi Programmers Community,
I have created a game, there is paddle moving horizontally and a random generated object falls from up to down, there are rules which say if there is a collision between the random object by the paddle you get number of points depends on the object itself,
circle = 1 point
square= 2 points
turtle any color except white= 5 points
triangle= the score will be zero
turtle with white color= GAME OVER
I have TWO ISSUES here:
The condition for Ending game which White turtle collision the paddle IS NOT WORKING
The score gets doubled with random number even if it was predetermined
enter image description here This is the game interface
enter image description here Game Rules
enter image description here Score Object
Any advice would be appreciated