After collision bt the Random Object and the Paddle, the predetermined score gets double in a random way, the condition for game over is not working
16:40 15 Dec 2025

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:

  1. The condition for Ending game which White turtle collision the paddle IS NOT WORKING

  2. 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

python python-3.x oop collision-detection paddle