Skip to content

pragonp/Tank-Battle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tank Battle

Welcome to my tank battle game prototype, developed in Java using the Processing library and Gradle as a dependency manager.

Overview

In this game, players control tanks, strategically aiming and firing to score hits and reduce opponents' health. The player with the highest score after all levels wins. This project demonstrates my skills in game development and Java programming, turning a concept into a playable, dynamic experience.

screenshot of the game

Installation

Step #1: Clone the repository using:

git clone https://github.com/pragonp/Tank-Battle.git

and then access the directory

cd Tank-Battle

Step #2: Run the game

gradle run

Note

If you do not have Gradle, you can follow the Installation Guide

Step #3: Enjoy! Some key controls are:

  • Arrow keys (UP/DOWN/LEFT/RIGHT) for tank movement
  • W and S to increase or decrease turret power
  • Spacebar to fire the projectile!
  • R to repair the tank
  • F to add fuel
  • P to buy more parachute
  • X to use a larger projectile for more fun!

Features

  • Tank Movement: Players can navigate their tanks around the battlefield.-Aiming and Firing: Players can aim their tank's turret and fire at opponents
  • Aiming and Firing: Players can aim their tank's turret and fire at opponents
  • Score Tracking: The game keeps track of each player's score throughout the levels
  • Health Management: Tanks have a health system that decreases upon being hit

Tool and Technologies

  • Java: The game logic is implemented in Java with OOP principles
  • Processing Libaries: Used for rendering the game's graphics
  • Gradle: Employed as a dependency manager to handle library dependencies and build configurations

Future Enhancement

  • Adding AI-controlled tanks with several difficulties
  • Adding more powerups

About

Multiplayer Tank Battle Game in Java

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages