Tank Stars
A 2 player java game based on the original tank stars game using libGDX.
Github Link: Tank Stars
Project Overview
Tank-Stars is a desktop adaptation of the popular mobile game “Tank Stars,” developed using Java and the LibGDX framework. This project was undertaken as part of the Advanced Programming course (CSE 201) at IIIT Delhi, under the guidance of Prof. Raghava Mutharaju during the Monsoon’22 semester. The game offers a turn-based combat experience where players control tanks, aiming to defeat their opponents through strategic shooting and movement.
Technologies Used
The game is developed using Java, leveraging the LibGDX framework for cross-platform game development. This combination ensures a robust and scalable gaming experience across various platforms.
Features and Functionalities
-
1 vs 1 Turn-Based Combat: Players engage in one-on-one battles, taking turns to fire shots with the objective of depleting the opponent’s health.
-
Trajectory Control: Players can adjust the power and angle of their shots, adding a strategic element to each turn.
-
Damage Impact and Tank Movement: The effect of a shot depends on the precision of the hit. A direct hit inflicts maximum damage, while a near-miss reduces the damage based on proximity. Additionally, the affected tank moves in the direction of the impact, with movement proportional to the hit’s accuracy.
-
Tank Selection: Before starting the game, players can choose from three distinct tanks, each offering unique attributes, allowing for a variety of strategies.
-
Pause Menu: The game features an intuitive pause menu, where players can save their progress, resume gameplay, or exit to the main menu at any point during the game.
-
Game State Persistence: The game supports save/load functionality, enabling players to store and resume progress. Saved game data includes health status of both players, exact position of the tanks, and terrain orientation. Multiple save slots (up to 4) are supported, allowing players to manage their game progress across different sessions.
-
Randomized Terrain Generation: Each game features a randomly generated landscape, ensuring a unique experience with every match.
These features collectively enhance the gaming experience by providing engaging and strategic gameplay, ensuring replayability and user satisfaction.
For a more detailed exploration of the project, you can visit the Tank-Stars GitHub Repository.