Skip to content

alexmarchi28/py-asteroids

Repository files navigation

Asteroids Game 🚀

A classic Asteroids game implementation built with Python and Pygame. Just a fun little project.

About

This is a simple recreation of the classic Asteroids arcade game where you pilot a spaceship through an asteroid field, shooting asteroids while trying to survive. It's nothing fancy.

Features

  • Classic spaceship controls (rotate, thrust, shoot)
  • Asteroids that split into smaller pieces when shot
  • Simple physics and collision detection
  • Retro vector-style graphics

Requirements

  • Python 3.x
  • Pygame

Installation

  1. Make sure you have Python installed
  2. Install Pygame:
    pip install pygame
  3. Run the game:
    python main.py

Controls

  • Arrow Keys / WASD: Rotate and thrust the ship
  • Spacebar: Shoot

How to Play

  • Use the arrow keys to rotate your ship and thrust forward
  • Shoot asteroids with the spacebar to break them apart
  • Avoid colliding with asteroids

Why This Exists

This project was created just for fun and learning purposes. It's a great way to practice Python programming, game development basics, and working with Pygame. Nothing groundbreaking here - just good old-fashioned coding enjoyment!

Contributing

This is just a casual fun project, but if you want to add features or improvements, feel free to fork and experiment!

License

This is a hobby project - do whatever you want with it! 🎮

About

classic asteroids game using pygame and python 3.x

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages