Skip to content

Hlunlun/Brick-Breaker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 

Repository files navigation

Brick Breaker

How to start

  1. Install JavaFX SDK and set up.
  2. Clone the code to local IDE
  3. Run

Game Rules

  1. Four mode : Simple, Endless, Times, Coutdown
  2. Use mouse to break the bricks

Simple Mode

  1. Move the paddle to rebound the falling ball.
  2. Try to break all the bricks on the screen.
  3. Paddle will be shorter every time the ball break the brick.
  4. Game over once the ball falls down the bottom or you break all bricks.
  5. Users can click "||" to choose continue, stop, or menu.

image

Endless Mode

  1. Drag mouse and use the sight line to aim for bricks.
  2. Bricks will drop down one row after the ball break the brick every time.
  3. Bombs will randomly appear and can break bricks on same row if the ball hit it.
  4. The score will be calculated for the number of the bricks you break and will be shown on the screen after game over.
  5. Game over once the bricks drop down the bottom.
  6. Users can click "||" to choose continue, stop, or menu.

image image

Times Mode

  1. Drag mouse and use the sight line to aim for bricks.
  2. Bricks will drop down one row after the ball break the brick every time.
  3. The number on the brick will disappear after the ball hit the brick for enough times(first time: minus 1, second time : minus 2, etc).
  4. Only when the number on the brick disappear can the brick be broken.
  5. Bombs will randomly appear and can break bricks on same row if the ball hit it.
  6. The score will be calculated for the number of the bricks you break and will be shown on the screen after game over.
  7. Game over once the bricks drop down the bottom.
  8. Users can click "||" to choose continue, stop, or menu.

image image

Countdown Mode

  1. Move the paddle to rebound the falling ball.
  2. Try to break all the bricks on the screen before time's up.
  3. Paddle will be shorter every time the ball break the brick.
  4. Game over under conditions : time's up, you break all bricks, or the ball falls down the bottom before time's up

image

Class diagram

image

Others

About

a simple game based on javafx

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published