Catch The Ball is a simple and engaging desktop game built in Java. The player's goal is to catch the bouncing ball using a paddle at the bottom of the screen. If the ball falls below the paddle, the game is over.
- Control the paddle with left and right arrow keys.
- Realistic ball-paddle collision sound.
- Restart the game with a button after the game ends.
- Score tracking with dynamic ball movement.
- Java Development Kit (JDK) 8 or higher.
- Clone the repository
- Navigate to the project folder cd CatchTheBall/src
- Compile the Java file: javac CatchTheBall.java
- Run the game: java CatchTheBall