Stellar Strike is a real-time multiplayer rocket shooting game developed using the Qt framework. It features a physics world with realistic trajectories, gravity, bouncing, and friction. The game also includes an AI mode that uses computer vision to allow you to play the game using hand gestures.
- Real-Time Multiplayer Battles: Engage in epic multiplayer battles where rockets become the pixels of a dynamic canvas, painted with the chaos of real-time gaming.
- Physics World: Experience a full-on physics world with all the physics thingies like trajectories, gravity bouncing, and friction.
- AI Mode: Run
handTracking.py
to make the game playable using computer vision and hands. - Customizable Rockets: Customize your rockets like a digital Picasso. Different skins and attributes let you express your inner code-artist, making each rocket launch a masterpiece.
- Score Tracking: The built-in scoring system is your scoreboard in the symphony of chaos. Track your rocket hits and achievements like a virtuoso conductor leading a cosmic orchestra.
- Progress Saving: The game saves your progress as you advance through the levels.
- 10 Levels with Incremental Difficulty: The game features 10 levels with increasing difficulty to challenge your rocket shooting skills.
- Multiplayer Chat and Lobby: Connect with friends using the provided IP/Hostname and port. Engage in exciting battles and compete for the highest score.
- Lovely UI: The game features a user-friendly interface that is intuitive and easy to navigate.
A full developed trailer of the game is available.
Untitled.video.-.Made.with.Clipchamp.1.mp4
The game executable is available in the folder Executable
Game.exe.
Following modules need to be installed for the AI Mode to work properly:
OpenCV is a huge open-source library for computer vision, machine learning, and image processing. OpenCV supports a wide variety of programming languages like Python, C++, Java, etc. It can process images and videos to identify objects, faces, or even the handwriting of a human.
pip install opencv-python
MediaPipe is a framework for building multimodal (eg. video, audio, any time series data), cross platform (i.e Android, iOS, web, edge devices) applied ML pipelines.
pip install mediapipe
AutoPy is a simple, cross-platform GUI automation library for Python. It includes functions for controlling the keyboard and mouse, finding colors and bitmaps on-screen, and displaying alerts.
pip install autopy
This project requires Python 3.8 due to dependency issues. If you have a newer version of Python installed, you will need to downgrade to Python 3.8. You can download Python 3.8 from here.
The server for the game is written in PHP and is located in the index.php
file. To set up the server, follow these steps:
- Navigate to the server folder.
- Run
composer install
to install the necessary dependencies. - Run the server on Apache or a similar server.
To run the multiplayer mode, you will need to change the server address in the main.cpp
file:
webSocketHandler.connectToServer("ws://your-server-address:8585");
Replace your-server-address
with the address of your server.
Contributions are welcome! Feel free to open issues or submit pull requests.
- Fork the project.
- Create your feature branch (
git checkout -b feature/YourFeature
). - Commit your changes (
git commit -m 'Add YourFeature'
). - Push to the branch (
git push origin feature/YourFeature
). - Open a pull request.
This project is licensed under the MIT License - see the LICENSE file for details.