Skip to content

Simple Asteroids clone using pygame following Boot.dev exercise

Notifications You must be signed in to change notification settings

markuszondler/bootdev-asteroids

Repository files navigation

Asteroids

Build Asteroids

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.

Start

Install and activate virtual environment using Python version 3.11 which seems to be the highest version Pygame is currently supporting.

$ python3.11 -m venv venv

$ source venv/bin/activate

$ python main.py

Improvements

  • Add a scoring system
  • Implement multiple lives and respawning
  • Add an explosion effect for the asteroids
  • Add acceleration to the player movement
  • Make the objects wrap around the screen instead of disappearing
  • Add a background image
  • Create different weapon types
  • Make the asteroids lumpy instead of perfectly round
  • Make the ship have a triangular hit box instead of a circular one
  • Add a shield power-up
  • Add a speed power-up
  • Add bombs that can be dropped

About

Simple Asteroids clone using pygame following Boot.dev exercise

Topics

Resources

Stars

Watchers

Forks

Languages