Jet Fighter Game is a simple 2D game where players control jets and engage in aerial combat. The goal is to shoot down the opponent's jet while avoiding getting shot down yourself.
- Player-controlled jets
- Bullets firing from jets
- Collision detection for bullets hitting jets
- Scoring system to keep track of hits
- Game over screen when one player reaches a certain score threshold
Clone the repository to your local machine: git clone https://github.com/martin.skrolsvik/martin.skrolsvik_empty.git
Navigate to the project directory: cd jet-fighter-game
Compile the Java files: javac -d bin src/main/*.java
Run the game: java -cp bin main.Main
White Jet:
- Move Left: A
- Move Right: D
- Shoot: W
Black Jet:
- Move Left: Left Arrow
- Move Right: Right Arrow
- Shoot: Up Arrow
Control your jet using the movement keys.
Press the shoot key to fire bullets at your opponent.
Each time a bullet hits the opponent's jet, you score a point.
The game ends when one player reaches a predetermined score limit.
Game developed by Martin Skrolsvik
Assets sourced from lukegarrigan:
- Jet images