Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dragonscypher/galactic-guardians
A fun game to play with friends on the same network
https://github.com/dragonscypher/galactic-guardians
blockchain cryptography opengl pygame socket-programming
Last synced: about 2 months ago
JSON representation
A fun game to play with friends on the same network
- Host: GitHub
- URL: https://github.com/dragonscypher/galactic-guardians
- Owner: dragonscypher
- License: mit
- Created: 2024-05-14T20:48:14.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-10-30T00:46:14.000Z (about 2 months ago)
- Last Synced: 2024-10-30T02:53:25.966Z (about 2 months ago)
- Topics: blockchain, cryptography, opengl, pygame, socket-programming
- Language: Python
- Homepage:
- Size: 13.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 🌌 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:
```bash
pip install pygame PyOpenGL cryptography
```## Running the Game
### Server Mode
Start the game in server mode:
```bash
python Galactic_Guardians.py --mode server
```### Client Mode
Connect to a server:
```bash
python Galactic_Guardians.py --mode client --ip
```
Replace `` 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.