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
- Host: GitHub
- URL: https://github.com/dalau6/tankgame
- Owner: dalau6
- Created: 2017-06-02T19:23:23.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-03-26T04:27:13.000Z (about 7 years ago)
- Last Synced: 2024-12-31T05:42:01.588Z (5 months ago)
- Topics: java
- Language: Java
- Homepage:
- Size: 13.5 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.