This project is a recreation of the classic 1979 Asteroids arcade game using Java Swing.
The goal of this project is to provide a modern implementation of the Asteroids game using Java Swing, a powerful GUI toolkit for Java applications. The game features include:
- Player-controlled spaceship that can move and rotate
- Asteroids that move around the screen and can be destroyed by shooting them
- Score tracking
- Sound effects and visual effects to enhance the gameplay experience
To run this project, you need to have Java Development Kit (JDK) installed on your system. Follow these steps to get started:
- Clone this repository to your local machine.
- Open a terminal or command prompt and navigate to the project directory.
- Compile the Java source files using the following command:
javac *.java - Run the game using the following command:
java Main
- Use "WAD" to move the spaceship.
- Press the spacebar to shoot bullets.
- The original Asteroids game was developed by Atari, Inc. in 1979.
- Special thanks to the Java Swing community for their valuable resources and tutorials.