411 REFERENCE · Wikibooks
PyGame Guide
Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.
800px|frameless|center|Rachel (the author) standing with the PyGame Python
Learn to develop games in Python!
Table of contents
Introduction
/Introduction/
Contact
License
About the author
Chapter 1: Getting Ready
About this guide
Prerequisites
What is Python and PyGame?
Setting up Python and PyGame
Testing it out
Chapter 2: Python Crash Course
A basic program
Variables
Input and output
If statements
While loops
For loops
Functions
Classes
Inheritance
Chapter 3: 2D Game Development Concepts
Birds-eye-view: How game programs work
The coordinate plane
Variables
Functions
Classes
Chapter 4: PyGame Crash Course
The bare-minimum PyGame program
Images
Audio
Fonts and text
Keyboard and mouse input
Chapter 5: The PyGame Cook Book
Project 1: Mole Whackin'
Project 2: Pickin' Sticks
Project 3: Fightin' Invaders from Space
Appendix A: Python Quick Reference
/Python Quick Reference/
Appendix B: PyGame Quick Reference
/PyGame Quick Reference/
Glossary
/Glossary/
Computer programming libraries Python programming language Video game development
25%
__NOTOC__