Learn Python basics and classes, then make five games with pygame, one feature per lesson. Each game runs next to your code.
Overview
Syllabus
- Learn Python — Variables, conditions, loops, functions, lists and tuples.
- Learn Python — Classes, methods and inheritance: how a bigger game keeps its players and enemies in order.
- Make Games with Pygame — The game loop, keys, collisions and score, through five games: a moving square, Catch the Blocks, Snake, two-player Pong and your own.
Courses
-
Make five games in Python with pygame: move a square, catch falling blocks, Snake, two-player Pong and a game of your own. Every game runs in your browser as you write it.
Prerequisites:
- Python basics: variables, if, loops, functions, lists and tuples.
-
A free, interactive online Python course. You write code on every lesson, get AI hints when you're stuck, and earn a free certificate when you finish.
- Master Python syntax, variables, types, and control flow
- Write reusable functions and work confidently with lists, dicts, and sets
- Build object-oriented Python programs with classes, inheritance, and methods
- Read, manipulate, and structure real data the Pythonic way