Baby Ball Bounce is a simple yet fun 2D game developed in Java as a training project. The objective of the game is to prevent a bouncing ball from reaching the bottom of the screen.
The game is built using the following technologies and components:
- Programming Language: Java
- Libraries and Frameworks:
- Swing
- AWT (Abstract Window Toolkit)
- Java 2D
- Development Environment: Eclipse IDE
- Version Control: Git
- Build System: Maven
The main game logic is contained within the BabyBall
class. This includes the physics of the bouncing ball and the game mechanics. A JFrame
is used to create the window, and a JPanel
is used for the game content.
On launching the game, a ball is created and placed at a random position on the screen. The ball starts to move in a direction determined by a random initial velocity. The player must use the mouse to click the ball and prevent it from reaching the bottom of the screen. If the ball reaches the bottom, the game ends.
This project is licensed under the terms of the GNU General Public License. See the LICENSE file for details.