About Python Learning Games
Python Learning Games is a free collection of 20 classic games written in Python for beginners, each one built to be played, read and rebuilt.
What makes these games different
- Real Python, not a look-alike. The console games run the actual Python program in your browser using Pyodide (CPython 3.13 compiled to WebAssembly). Nothing is sent to a server.
- Tested before publishing. Every full game is played through automatically, every example is run, and every challenge solution must pass its tests (and every starter must fail them) on Python 3.13 before the site is built.
- Written for beginners. Short programs, plain-English explanations, friendly error messages and hints before solutions.
- Free and open. No accounts, no paywall. Copy the code and make it yours.
How progress works
Stars for solved challenges are stored in your browser (localStorage) on this device only. Clearing your browser data resets them.
Who it's for
Self-taught beginners, students, parents coding with kids, and teachers who want ready-made projects with built-in checks. Start with the 4-week plan or jump straight into the games.