Loading repository data…
Loading repository data…
hoangsonww / repository
🎮 This repository hosts a Bouncing Ball game coded in JavaFX, offering a fun and interactive gameplay experience. It showcases object movement, collision detection, and score tracking, serving as a great example for developers interested in game development using JavaFX.
A transparent discovery signal based on current public GitHub metadata.
This score does not audit code, security, maintainers, documentation quality, or suitability. Verify the repository and its current documentation before adoption.
The Bouncing Ball game is a simple, interactive JavaFX application where a ball bounces around the screen. Users can control the speed of the ball using the up and down arrow keys. The game demonstrates the use of JavaFX animation and event handling capabilities.
Our apologies for the low quality of the GIF. The actual game interface is much smoother and visually appealing. Please try running the game on your machine for a better experience!
git clone https://github.com/hoangsonww/Space-Invader-Game-JavaFX.git.Before running the application, ensure that JavaFX is properly configured in your IDE (e.g., IntelliJ IDEA, Eclipse):
IntelliJ IDEA:
File > Project Structure > Libraries and add the JavaFX SDK as a library to the project.Run configurations, add the VM options to include the JavaFX modules:
--module-path "path/to/javafx-sdk/lib" --add-modules javafx.controls,javafx.fxml
Replace "path/to/javafx-sdk/lib" with the actual path to the JavaFX SDK lib directory on your machine.Eclipse:
Properties > Java Build Path > Libraries and add the JavaFX SDK as an external JAR.To run the application, navigate to the src/com/example/bouncingballgamejavafx directory and compile the BouncingBall.java file. Then, execute the main method within the BouncingBall class.
Ensure that the JavaFX SDK is properly configured in your IDE before running the application.
Alternatively, you can run the application using the following Maven command:
mvn clean javafx:run
Contributions to the Bouncing Ball game are welcome. Please feel free to fork the repository, make your changes, and submit a pull request.
This project is licensed under the MIT license. See LICENSE for more details.
Created with ❤️ by Son Nguyen in 2024.