Skip to content

A game where the player controls a paddle to bounce a ball and break bricks.

License

Notifications You must be signed in to change notification settings

jasanpreetn9/Breakout

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Breakout - Java Game

Overview

Breakout is a simple and classic breakout game implemented in Java. It is a game where the player controls a paddle to bounce a ball and break bricks. This project serves as a fun and educational example of game development using Java.

Features

  • Paddle Control: Move the paddle left and right to bounce the ball.
  • Brick Breaker: Break the bricks using the ball to score points.
  • Score Tracking: Keep track of your score as you break more bricks.
  • Game Over: The game ends when the ball passes the paddle. Your high score is recorded.

Prerequisites

  • Java Development Kit (JDK) installed on your machine.

How to Run

  1. Clone the repository: git clone https://github.com/jasanpretn9/breakout

  2. Navigate to the project directory: cd Breakout

  3. Compile the Java files: javac Game.java

  4. Run the game: java Game

  5. Use the left and right arrow keys to control the paddle.

Controls

  • Left Arrow: Move the paddle to the left.
  • Right Arrow: Move the paddle to the right.

Customization

Feel free to customize the game by tweaking parameters, such as paddle speed, ball speed, and the number of bricks. You can explore and modify the code to add new features or improve existing ones.

About

A game where the player controls a paddle to bounce a ball and break bricks.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages