Space-Shooter-Game

Space Shooter Game in JavaFX

Overview

Space Shooter is a thrilling arcade-style game developed using JavaFX, where players navigate a spaceship through a galaxy filled with enemies and obstacles. The objective is to survive as long as possible while destroying enemy ships and dodging incoming fire to achieve the highest score.

Features

Prerequisites

To run this game, you’ll need to have the following installed:

Ensure that your JAVA_HOME environment variable is set to your JDK installation path.

Installation and Running the Game

Step 1: Clone the Repository

Step 2: Compile the Source Code

javac -cp "path/to/javafx-sdk/lib/*" src/*.java -d bin

Step 3: Run the Game

java --module-path "path/to/javafx-sdk/lib" --add-modules javafx.controls,javafx.fxml -cp bin Main

Replace "path/to/javafx-sdk/lib" with the actual path to your JavaFX SDK libraries.

Dependencies

Contributing

Contributions to the Space Shooter game are welcome! Whether it involves fixing bugs, adding new features, or improving documentation, your help is appreciated. Please follow these steps to contribute:

  1. Fork the repository.
  2. Create a new branch (git checkout -b feature/AmazingFeature).
  3. Commit your changes (git commit -am 'Add some AmazingFeature').
  4. Push to the branch (git push origin feature/AmazingFeature).
  5. Open a Pull Request.

License

This project is licensed under the MIT License - see the LICENSE.md file for details.

Acknowledgments