View difference between Paste ID: thak1EKZ and UYsXgUFk
SHOW: | | - or go back to the newest paste.
1-
import pygame
1+
2-
import random
2+
3-
pygame.init()
3+
4-
4+
5-
#General Variables
5+
6-
running = True
6+
7-
window = pygame.display.set_mode((400,600))
7+
8-
clock = pygame.time.Clock()
8+
9-
9+
10-
#New Variables
10+
11-
randx = random.randrange(0, 300)
11+
12-
randy = 0
12+
13-
score = 0
13+
14-
14+
            car1.x_change = 0