Welcome to Ships and Ships!, a modern take on the classic arcade game Space Invaders, developed in Java Swing. Dive into the action with unique ships, challenging enemies, and engaging pixel art animations. Whether you're playing solo or alongside a friend, prepare for hours of entertainment!
- Multiple Ship Choices: Choose from three different ships to match your playstyle:
- Normal Ship: A balanced vessel suitable for all types of players.
- Rapid Ship: Faster shooting speed, letting you take down enemies quicker.
- Pirate Ship: A robust ship with higher health points.
- Multiplayer Mode: Play solo in single-player mode or team up with a friend in two-player mode.
- Scoring System: Earn points for every enemy you defeat.
- Health Points: Manage your ship’s health bar; take too many hits and it’s game over!
- Custom Animations: Each ship and enemy type features its own unique pixel art animation.
Make sure you have Java installed on your machine. You can download Java from Oracle's Java Download Page.
- Clone the repository to your local machine:
git clone https://github.com/melzak252/GUI_PROJEKT_II.git
- Navigate to the cloned directory:
cd ships-and-ships - Compile the Java files (make sure you are in the src directory):
javac src/Main.java
- Run the game:
java Main
Use arrow keys (← and →) to move your ship left and right.
Press Space to shoot at the incoming enemies.
Avoid enemy projectiles and survive as long as possible to score high.