Skip to content

MitchellGray100/Tanks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

86 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tanks

MitchellGray100@gmail.com https://github.com/MitchellGray100/Tanks

JavaFX One/Two Player Tank Game

The game starts by having a tank at the bottom left and the top right. The tanks are controlled by seperate players. The second tank can be controlled by an AI in one player mode. There is also a power up that spawns equidistant from both tanks. There are 4 different power ups. Shield, which lets the player take an extra hit. Wheels, which makes the tank move faster. Rockets, which makes the bullets move faster. Triple Cannon, which makes the tank capable of shooting more frequently. Bricks prevent the player from going through the space they cover. There is the brick border which always spawns, but there are also bricks that spawn in the middle of the map. These bricks are randomly generated and make the game have good replay value. The game makes sure there is always a way to get to the other tank.

Music Credit: ParagonX9.



Play

To Play, just download the project: https://github.com/MitchellGray100/Tanks/archive/refs/heads/main.zip and run Tanks.exe in the EXE folder.


If you gen a JNI error, make sure to download java.




Images

Title Screen.
Image of the title screen

Shows a map with the Wheel powerup.
Image of a map with Wheel powerup

Shows a map with the Rocket powerup.
Image of a map with Rocket powerup

Shows a map with the Triple Canon powerup.
Image of a map with Triple Canon powerup

Shows a map with the Shield powerup.
Image of a map with Shield powerup

Shows a shielded tank after it got the shield powerup.
Image of a tank after getting the shield

Shows the end of a game.
Image of a game over screen


GIFs

Full Game with Shield PowerUp.
GIF of Full Game with Shield PowerUp

Full Game with Wheel PowerUp.
GIF of Full Game with Wheel PowerUp

AI navigating to kill player.
GIF of Full Game with AI Playing