Thanks to visit codestin.com
Credit goes to github.com

Skip to content

AnthonyFountaine/JavaSwingAsteroids

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

JavaSwingAsteroids

This project is a recreation of the classic 1979 Asteroids arcade game using Java Swing.

Description

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

Installation

To run this project, you need to have Java Development Kit (JDK) installed on your system. Follow these steps to get started:

  1. Clone this repository to your local machine.
  2. Open a terminal or command prompt and navigate to the project directory.
  3. Compile the Java source files using the following command:
    javac *.java
    
  4. Run the game using the following command:
    java Main
    

Controls

  • Use "WAD" to move the spaceship.
  • Press the spacebar to shoot bullets.

Acknowledgements

  • The original Asteroids game was developed by Atari, Inc. in 1979.
  • Special thanks to the Java Swing community for their valuable resources and tutorials.

About

1979 Asteroids arcade game recreated using Java Swing.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages