Python is one of the friendliest ways to learn to code, and Pygame turns it into games. Lay out a level right now in your browser, download a real Pygame project, then follow the episodes to build seven different games, one step at a time.
DaytimeThis little catch game is drawn live in your browser. Every Python episode starts with a loop just like this one. Click to change the sky.
๐ก๏ธ
An honest note: Python and Pygame need a quick install (they are free, and Python runs on modest computers), so the episodes are a home-computer job best done with a grown-up. But you can start right now in the Python Mod Studio below, which needs no install at all, then run your project when you are ready.
๐ฅ
Ember says: every game in this series is the same three ideas wearing different clothes: something moves, something is caught or missed, something ends. Learn it once in Episode 1 and you can build all seven.
๐
Keep the cheat sheet open: Python basics, Pygame calls and the common tracebacks, all on one page. Open the Python cheat sheet โ
A computer and the free Python app (from python.org). Pygame installs with one command. Python runs on modest computers, and the Mod Studio above works in any browser.
๐ The badge
Finish all 7 episodes to earn the Python Game Builder Pro badge on your progress page.
๐ Keep it open
The cheat sheet has the Python and Pygame you will use in every episode, so you never have to guess.
๐
Then build it for real: install Python for free and start Episode 1. If you get stuck, the cheat sheet and each episode's own tips will pull you through.