Intro to Pygame
Goals
Understand where to get the Pygame Template
Understand the parts of the template
Importing
Initialization
Game loop
Event handling
Game state updates
Drawing
Quick look at the cheatsheet
Video Tutorial
What you need to do
Create a new Python file. Do not name this file
pygame.py
or it will not work.Paste the template into that file.
Run the file.
You should see a window pop up with a white background and a blue circle (shown below).