Skip to content

Catch The Ball is a fun Java game where players use arrow keys to control a paddle, aiming to keep the ball bouncing while scoring points. The game features dynamic ball movement, collision sound effects, score tracking, and a restart option.

Notifications You must be signed in to change notification settings

jgohel9902/CatchTheBall

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

Catch The Ball

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.


Features

  • 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.

Requirements

  • Java Development Kit (JDK) 8 or higher.

How to Run

  1. Clone the repository
  2. Navigate to the project folder cd CatchTheBall/src
  3. Compile the Java file: javac CatchTheBall.java
  4. Run the game: java CatchTheBall

About

Catch The Ball is a fun Java game where players use arrow keys to control a paddle, aiming to keep the ball bouncing while scoring points. The game features dynamic ball movement, collision sound effects, score tracking, and a restart option.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages