About Pygame.net
Pygame.net is a learning resource for making 2D games with Python and Pygame, with tutorials, an API reference, complete games and free browser tools.
On this page
What this site is for#
Pygame.net helps people learn game programming with Python. It brings together what a beginner needs in one place: installation guides, step-by-step tutorials, a practical API reference, complete game projects with source code, troubleshooting guides, browser tools for game assets, and Pygame Online, an editor that runs Pygame code in the browser.
Who it's for#
Students taking their first steps beyond basic Python, teachers looking for classroom-ready examples, hobbyists building their first game for a game jam, and experienced programmers who want a quick, practical reference.
How content is made and checked#
- Every code example is a complete program, and every one is run automatically with both pygame-ce and pygame before publication. The games are tested by driving their actual code: moving, scoring, colliding, winning and losing.
- Facts are checked against primary sources: version numbers and release dates come from PyPI, API behaviour from the libraries themselves and their official documentation.
- Pages show when they were last updated, and content is revised when Pygame changes.
The full process is described in the editorial policy.
Relationship to the Pygame projects#
Pygame.net is an independent site. It is not run by, affiliated with or endorsed by the pygame project (pygame.org) or the pygame Community Edition project (pyga.me). Pygame and pygame-ce are open-source libraries created and maintained by their own volunteer contributors, and this site links to their official pages for downloads and complete documentation. Credit for the libraries belongs to those projects; see licenses and attribution.
Who runs the site#
Pygame.net is operated by Pygame. You can reach the site by email at contact@pygame.net or through the contact page.
Free to use#
All tutorials, tools and the online editor are free. The site may show advertising or include clearly labelled affiliate links in the future to cover its costs; editorial content is never paid for, as explained in the editorial policy.