Skip to content

a cute little asteroids game i made using pygame.

Notifications You must be signed in to change notification settings

Sanjit-M/asteroids

Repository files navigation

Asteroids Game

A classic arcade-style asteroids game built with Python and Pygame. Done for practice.

Description

This project is a 2D space shooter where the player controls a spaceship in a field of asteroids. The objective is to destroy asteroids by shooting them while avoiding collisions. When an asteroid is shot, it splits into smaller pieces, increasing the challenge.

Features

It's asteroids.

Requirements

  • Python >= 3.13
  • Pygame == 2.6.1

Installation

  1. Clone the repository to your local machine.
  2. Install the required dependencies:
    pip install pygame==2.6.1

How to Run

To start the game, run the main.py file from the root directory of the project:

python main.py

Controls

  • W: Move forward
  • S: Move backward
  • A: Rotate left (counter-clockwise)
  • D: Rotate right (clockwise)
  • Space: Shoot

About

a cute little asteroids game i made using pygame.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages