Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #Python 3.4.3 with Pygame
- import pygame
- import random
- pygame.init()
- pygame.display.set_caption('Crash!')
- pygame.mixer.music.load('Slap.wav')
- #variables
- window = pygame.display.set_mode((600, 600))
- rectplace = pygame.draw.rect(window, (0, 0, 0),(0, 0, 100, 100))
- counter = 200000
- randx = random.randrange(100, 500)
- randy = random.randrange(100, 500)
- running = True
Add Comment
Please, Sign In to add comment