Skip to content

zacoppotamus/Breakout

Repository files navigation

Breakout

This program is a reimplementation of the classic Breakout game, which was released in 1976 by Atari. The player bounces a ball on a paddle controlled by the keyboard, which bounces off the top and side walls of the screen. Rows of bricks exist at the top of the screen which are destroyed when the ball hits them. Points are awarded to the player for each brick destroyed and when all are destroyed, the next level, which is randomly generated, is presented. The player has 3 lives, which are lost when the ball touches the bottom of the screen. The player is presented with a main menu at the start of the game, which starts when is pressed. If the player loses, he has the option to restart. As in the original, there is no end to the game. In this implementation, levels are randomly generated, meaning that the game ends only when the player dies.

Example Example

To-Do/Bugs

The most urgent bug-fix includes packaging the fonts used in the game with the source files to enable a uniform experience to anyone playing the game from a variety of different operating systems. In this installment of the game, the two fonts used in the game are provided along with the source code. Potential enhancements to the game include the ability for new levels to be created by reading in a text file and the introduction of various power-ups, such as extra lives, slowing down the ball or faster paddle movement. There could also be an added audio component to the game, such as a soundtrack and sound effects for when the paddle hits the ball.

How To Play

javac Play.java
java Play

About

A clone of the famous Atari game.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages