diff --git a/crystal.py b/crystal.py index d7c0aaf..72f42cf 100644 --- a/crystal.py +++ b/crystal.py @@ -18,5 +18,4 @@ class Crystal: def setColor(self, color): """ Announces the color to pin by drawing a rectangle and filling it with a color """ - pygame.draw.ellipse(self.screen, (color), (self.imageCenterX-158,self.imageCenterY-5,277,217), 0) - print("Drawing {} ellipse".format(color)) + pygame.draw.ellipse(self.screen, (color), (self.imageCenterX,self.imageCenterY,150,117), 0) diff --git a/game.py b/game.py index b098fe9..73cf038 100755 --- a/game.py +++ b/game.py @@ -202,6 +202,7 @@ class TheGame: # Had enough of this? if event.type == pygame.QUIT: running = False + game.gameOver() pygame.quit() sys.exit()