Intro to Pygame =============== Goals ----- - Understand where to get the :doc:`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 -------------- .. raw:: html 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). .. figure:: ../images/pygame-template.png :align: center Running the Pygame Template