This project is a simple game implemented using JavaFX and Scene Builder. Goal: Make the ball bounce as long as possible.
- Interactive Gameplay: Experience interactive gameplay by pad using the mouse
- Scoring System: Keep track of your score as you successfully bounce the ball off the walls without letting it fall off the screen.
- Game Over Detection: Detect when the ball falls off the screen, signaling the end of the game.
- Restart Option: Restart the game with the click of a button after the game ends.
- Clone the Repository: Clone this repository to your local machine using the following command:
git clone https://github.com/your-username/bouncing-ball-game.git
- Open the Project: Open the project in your favorite Java IDE (e.g., IntelliJ IDEA, Eclipse).
- Set Up JavaFX: Ensure you have JavaFX configured correctly in your IDE. If not, follow the instructions for setting up JavaFX in your specific IDE.
- Run the Game: Run the
Main.java
file to launch the Bouncing Ball Game. - Play the Game: Control the movement of the ball using the mouse. Aim to keep the ball bouncing off the walls for as long as possible.
- Restart: Click the restart button to play again after the game ends.
- Java Development Kit (JDK)
- JavaFX Library
- Java IDE (IntelliJ IDEA, Eclipse, etc.)