Skip to content

dragonscypher/Galactic-Guardians

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

🌌 Galactic Guardians 🚀

Welcome to Galactic Guardians, an exciting multiplayer space shooter game! Whether you're playing solo or my ML model or with friends, defend the galaxy from alien invasions and aim for the highest score.

📖 Storyline

In the year 3050, the galaxy faces an unprecedented threat from alien forces. As a member of the elite Galactic Guardians, it's your mission to protect the galaxy and prove your skills in interstellar combat. Will you rise to the challenge and become the top Guardian?

🎮 Features

  • 🌐 Multiplayer Mode: Play with friends over a local Wi-Fi network or face the aliens alone.
  • 🖥️ GUI Mode: Enjoy the game with an engaging graphical interface using Pygame and OpenGL.
  • 🔗 Blockchain Logging: Securely log game events like laser fires and alien destructions using blockchain technology.
  • 🛡️ Encrypted Communication: Safe multiplayer interactions through encrypted data transmissions.
  • 🎨 Immersive Graphics: Experience stunning graphics, including spaceships, lasers, and aliens.

🛠️ Tech Stack

  • Python: Core programming language
  • Pygame: For rendering graphics and handling game events
  • PyOpenGL: For OpenGL rendering
  • Socket Programming: For multiplayer networking
  • Cryptography: For secure communication
  • Blockchain: For logging game events

🚀 Getting Started

Prerequisites

Ensure you have Python and pip installed. Then, install the required packages:

pip install pygame PyOpenGL cryptography

Running the Game

Server Mode

Start the game in server mode:

python Galactic_Guardians.py --mode server

Client Mode

Connect to a server:

python Galactic_Guardians.py --mode client --ip <server_ip>

Replace <server_ip> with the actual IP address of the server.

📚 Usage

Spaceship Controls:

  • Move Up: W
  • Move Down: S
  • Move Left: A
  • Move Right: D
  • Fire Laser: Space

Game Objective:

  • Navigate your spaceship to avoid incoming attacks.
  • Destroy enemy aliens and compete for the highest score.
  • Play against a computer opponent or join with friends for multiplayer action.

Game Flow

  • Start Screen: Press ENTER to begin your adventure.
  • Gameplay: Control your spaceship, fire lasers, and avoid enemy attacks.
  • Game Over: When hit by an enemy, the game ends. Scores are displayed, and you can restart by pressing R.

📄 License

This project is licensed under the MIT License - see the LICENSE file for details.

About

A fun game to play with friends on the same network

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages