Skip to content

anafibnshahibul/Galactic-Defender-Pyhon-Game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

3 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Galactic Defender ๐Ÿš€

Welcome to Galactic Defender, a high-octane space shooter game developed in Python! This project demonstrates the power of Object-Oriented Programming (OOP) and real-time game loops using the pygame library.

๐ŸŽฎ Features

  • Dynamic Gameplay: Enemies spawn at random locations with varying speeds.
  • Weapon System: Rapid-fire laser system using collision detection.
  • Advanced Architecture: Organized into 5 modular files for clean, professional code.
  • High Performance: Runs at 60 FPS for smooth movement.

๐Ÿ› ๏ธ Built With

  • Python 3.x
  • Pygame Engine

๐Ÿ“‚ File Structure

  • main.py: The heart of the game. Handles the game loop and event processing.
  • player.py: Contains the logic for the hero spaceship movement.
  • enemy.py: Manages the AI for falling enemy blocks.
  • bullet.py: Handles the physics and lifetime of projectiles.
  • settings.py: Central configuration for colors, speed, and screen size.

๐Ÿš€ How to Run

  1. Install Pygame:
    pip install pygame

About

A real-time space shooter game built with Python and Pygame featuring OOP principles and dynamic enemy spawning.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages