Brick Breaker

Difficulty: Medium

ABOUT

I created the classic game Brick Breaker using Java. This is a classic game to build in java since it utilizes the object-oriented programming Java is famous for. This game has multiple different features implemented such as an in-game level editor, saving features, powerup's, and a level unlocking system.

Diagram

How this game works is that there is a double array of integers. This is initialized with the width and height of the game board and filled with 0's. The 0's represent empty spots and any number that is greater than 0 represents a certain colored of brick. For each digit I display a brick from the image 0-7 and I split it according to the value of the position in the array. In the array to the left, I  would render the only the values as green because it is the first position of this image. I split this image up in 8 different positions and the 0 position is transparent.  

More Projects You May Like

Fireworks Screensaver

An animated screensaver that displays pixel fireworks. It also gives details on how many have been launched since opened. Set it as your background!

Quadratic Calculator Program

A program I wrote in the 8th grade to solve my own math homework. Study from it and build your own math problem solver.

Multiplayer Racing Game

Compete against your friends to get the best time in time trials. Upgrade your car with the best gear!

Rock Paper Scissors Game

Create a fun and interactive rock, paper, scissors game that can play against the computer or another player.