Skip to content
Snippets Groups Projects
Commit e072f151 authored by Daniel Moix's avatar Daniel Moix
Browse files

Adding starter code for Lecture 5

parent 484c897f
Branches
No related tags found
No related merge requests found
import pygame
pygame.init()
surface = pygame.display.set_mode((800, 600))
surface.fill((255, 255, 255))
while True:
for event in pygame.event.get():
if event.type == pygame.QUIT or \
event.type == pygame.KEYDOWN and \
event.__dict__['key'] == pygame.K_q:
pygame.quit()
exit()
pygame.display.update()
cs172/Lect05/mario_black.png

13.7 KiB

cs172/Lect05/mario_blue.png

24.9 KiB

cs172/Lect05/mario_gold.png

23.5 KiB

0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment