An open API service indexing awesome lists of open source software.

https://github.com/dalau6/tankgame

A 2 player Tank Game written in Java 8
https://github.com/dalau6/tankgame

java

Last synced: 3 months ago
JSON representation

A 2 player Tank Game written in Java 8

Awesome Lists containing this project

README

        

# tankgame
Tank Game is a 2 player game written in Java 8. Both players must battle each other until all lives are lost. Tank Game uses singleton, observer, and MVC design patterns.

Controls for Player 1:
w: up
a: left
d: right
s: down
space: fire

Controls for Player 1:
↑: up
←: left
→: right
↓: down
enter: fire

Rules:
1) Tanks have three lives. A player will lose a life if their health is reduced to 0 or below. A player will lose the game if all three lives are lost.
2) Players may shoot through the walls in lighter color.
3) Players may pick up power ups to increase their tank's damage.