Python · What's next?
Python & Games
The full text of this chapter, to read or revisit. To practise, do the exercises.
▶ Do the exercises
Exercise 1 — Game Development
Python can make games! While it's not used for AAA titles, it's perfect for learning game development and building 2D games. Pygame is the most popular game library. It handles graphics, sound, input — everything you need. People have built platformers, puzzle games, RPGs, and even published games on Steam with it!
Exercise 2 — Where to start?
Games are one of the most fun ways to practice programming. Install Pygame, follow a tutorial to make Pong or Snake, and go from there. Start simple — a finished small game is better than an unfinished big one!
Back to the course