{"id":20271938,"url":"https://github.com/hoangsonww/Bouncing-Ball-Game-JavaFX","last_synced_at":"2025-05-07T16:33:13.185Z","repository":{"id":189597015,"uuid":"619951244","full_name":"hoangsonww/Bouncing-Ball-Game-JavaFX","owner":"hoangsonww","description":"🎮 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.","archived":false,"fork":false,"pushed_at":"2025-04-09T18:12:51.000Z","size":5930,"stargazers_count":22,"open_issues_count":0,"forks_count":16,"subscribers_count":14,"default_branch":"main","last_synced_at":"2025-04-11T04:34:11.051Z","etag":null,"topics":["bounce","bouncing-ball","bouncing-ball-2player-game","bouncing-ball-game","bouncing-ball-java","bouncing-balls","bouncingball","java","java-8","javafx"],"latest_commit_sha":null,"homepage":"https://hoangsonww.github.io/Bouncing-Ball-Game-JavaFX/","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hoangsonww.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2023-03-27T18:30:01.000Z","updated_at":"2025-03-23T04:49:46.000Z","dependencies_parsed_at":"2024-04-25T17:46:36.631Z","dependency_job_id":"916ee18a-4534-430e-9e59-52aa83cd6a34","html_url":"https://github.com/hoangsonww/Bouncing-Ball-Game-JavaFX","commit_stats":null,"previous_names":["hoangsonww/bouncing-ball-game","hoangsonww/bouncing-ball-game-javafx"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hoangsonww%2FBouncing-Ball-Game-JavaFX","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hoangsonww%2FBouncing-Ball-Game-JavaFX/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hoangsonww%2FBouncing-Ball-Game-JavaFX/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hoangsonww%2FBouncing-Ball-Game-JavaFX/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hoangsonww","download_url":"https://codeload.github.com/hoangsonww/Bouncing-Ball-Game-JavaFX/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252915600,"owners_count":21824605,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bounce","bouncing-ball","bouncing-ball-2player-game","bouncing-ball-game","bouncing-ball-java","bouncing-balls","bouncingball","java","java-8","javafx"],"created_at":"2024-11-14T12:40:22.235Z","updated_at":"2025-05-07T16:33:08.172Z","avatar_url":"https://github.com/hoangsonww.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Bouncing Ball Game with JavaFX\n\n## Overview\nThe 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.\n\n## User Interface\n\n\u003cp align=\"center\" style=\"cursor: pointer\"\u003e\n    \u003cimg src=\"ui.png\" alt=\"Bouncing Ball Game Interface\" width=\"100%\"/\u003e\n\u003c/p\u003e\n\n## Features\n- Ball speed control with keyboard inputs (UP to increase speed, DOWN to decrease speed).\n- Dynamic color change of the ball upon collision with the screen boundaries.\n- Display of current ball speed on the screen.\n\n## Prerequisites\n- JDK 11 or above.\n- JavaFX SDK (compatible with your JDK version).\n- A Java IDE (e.g. IntelliJ IDEA or Eclipse) is highly recommended.\n\n## Setup and Installation\n1. **Download JavaFX SDK**: Download the JavaFX SDK from the [OpenJFX](https://openjfx.io/) website and extract it to a known location on your machine.\n2. **Clone the Repository**: Clone this repository to your local machine using `git clone \u003crepository-url\u003e`.\n\n## Configuration\nBefore running the application, ensure that JavaFX is properly configured in your IDE (e.g., IntelliJ IDEA, Eclipse):\n- **IntelliJ IDEA**:\n    1. Go to `File` \u003e `Project Structure` \u003e `Libraries` and add the JavaFX SDK as a library to the project.\n    2. In the `Run` configurations, add the VM options to include the JavaFX modules:\n       ```\n       --module-path \"path/to/javafx-sdk/lib\" --add-modules javafx.controls,javafx.fxml\n       ```\n       Replace `\"path/to/javafx-sdk/lib\"` with the actual path to the JavaFX SDK lib directory on your machine.\n\n- **Eclipse**:\n    1. Right-click on the project \u003e `Properties` \u003e `Java Build Path` \u003e `Libraries` and add the JavaFX SDK as an external JAR.\n    2. In the run configurations, add the VM arguments similar to the IntelliJ setup.\n\n## Running the Application\nTo 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.\n\n## Contributing\nContributions to the Bouncing Ball game are welcome. Please feel free to fork the repository, make your changes, and submit a pull request.\n\n## License\nThis project is licensed under the MIT license. See [LICENSE](LICENSE) for more details.\n\n---\n\nCreated with ❤️ by [Son Nguyen](https://github.com/hoangsonww) in 2024.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhoangsonww%2FBouncing-Ball-Game-JavaFX","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhoangsonww%2FBouncing-Ball-Game-JavaFX","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhoangsonww%2FBouncing-Ball-Game-JavaFX/lists"}