add gameover screen and change colors

Co-authored-by: Laura Januleviciute <januleviciute.laura@gmail.com>
This commit is contained in:
2021-11-05 20:23:51 +01:00
parent 4f5c521359
commit e10d862180
3 changed files with 8 additions and 5 deletions

2
Car.py
View File

@@ -3,7 +3,7 @@ import random
from Bubble import Bubble
class Car:
def __init__(self, posX, posY, height, width, game_objects, color=(0,0,0), directionX=1):
def __init__(self, posX, posY, height, width, game_objects, color=(0, 255,0), directionX=1):
self.posX = posX
self.posY = posY
self.color = color