We're sorry but this app doesn't work properly without JavaScript enabled. Please enable it to continue.

Build Asteroids using Python and Pygame

Build a clone of the classic Asteroids game using Pygame and object-oriented programming concepts.

What will you learn?

Build a clone of the classic Asteroids game using Pygame and object-oriented programming concepts. This guided project will help you understand how to use Pygame to create a game loop, handle user input, and manage game state. You'll also learn how to use object-oriented programming to create game objects and manage their interactions.

Chapter List

1
Pygame
Setup and install Pygame.
2
Gameloop
Write a gameloop that renders the game at 60 frames per second.
3
Player
Create a Player class and implement movement.
4
Asteroids
Add asteroids for the player to avoid.

Join 26,754 students in the Build Asteroids using Python and Pygame course

Read reviews of their learning experiences

It's an excellent project to complete, and you can learn some basic concepts about programming with PyGame and who knows where else that can led you to

(5/5)
Salomão Rosa profile image

Salomão Rosa

Brazil

Honestly, this is a solid little project. Maybe a little on the easy side, though I get the idea of extending it for the extra challenge. I'd like to see more of these sorts of things on the site for sure!

(4/5)
Matt K profile image

Matt K

Canada

Really fun course. Challenges you to read documentation and use your imagination to apply what you've learned previously.

(5/5)
Didi Lovell profile image

Didi Lovell

United States

Take those training wheels off! This one is a blast!

(5/5)
Reed Sutherland profile image

Reed Sutherland

United States

A great course, nice way to learn OOP in Python

(5/5)
marco pipes profile image

marco pipes

United States

Now I too can make the titular "The Asteroid Game". Or at least the base form.

(5/5)
Manvid  profile image

Manvid

Lithuania

coz, its easy

(5/5)
Mohammedsami Sheth profile image

Mohammedsami Sheth

India

good to get your hands dirty makking a simple but challenging project

(5/5)
Bobby Jr profile image

Bobby Jr

United States

i'm not an expert in pygame, but atleast i now know how to get started.

(5/5)
Wil Grant profile image

Wil Grant

United States

Showing 1-9 of 900

or view more reviews

Mediocrity doesn't cut it anymore

The only way to become a great developer is to write a lot of code

Avoid tutorial hell

by writing a ton of code

Stay motivated with

a game-like curriculum

Build portfolio projects

to prove your skills

Delve deeper

into foundational concepts

Learn flexibly online

without interrupting your life

For 1% the price of college

to minimize your financial risk

Frequently asked Questions

Got questions? We've got answers

Yes! It's free to create an account and start learning. You'll get all the immersive and interactive features for free for a few chapters. After that, if you still haven't paid for a membership, you'll be in read-only (content only) mode.