Skip to content

oldschool arcade game on a highrise-building

Notifications You must be signed in to change notification settings

nimra98/Breakout

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Breakout

oldschool arcade game on a highrise-building

The retro arcade game BREAKOUT made with the MVC pattern.

The model holds all statuses and values while the controller contains a mouse and key listener to enable the bar control for the user. The view has multiple subclasses for different displays, for example the device to play on and the 14x28 pixels highrise-building, and is updated by the Model class regularly.

The Main class starts the game by initializing the Model class with the correct display resolutions, loading a brick layout and starting the Controller class with the listeners.

This pattern makes it possible for more than one person to effectively work simultaneously on the game development and abstract the processes of the program.

Order of tasks:

    1. Writing the Model class and creating a "ball" point which moves and bounces of all window borders. The bounce aims a physically logical direction. Important: measuring the time for a constant FPS rate.
    1. Writing of the View class and a subclass to display the game process in an applet on the PC.
    1. Writing of the Controller class which enables user input via mouse or direction keys.
    1. Creating bar coordinates in the model an make them changeable by the user input. The bar is counted by the ball as border to bounce of.
    1. Ground border is changed to GAME OVER.
    1. Implementation of three lives and GAME OVER upon losing all. Don't forget to show them on screen.
    1. Being creative and designing levels of different brick layouts which are general enough to be interpreted by all views.
    1. Making the bricks in the layouts objects for the ball to bounce off in the right direction (and being destroyed by the ball).
    1. Level clear, level advance and score implementation.
    1. Extras like highscore, items, etc.

About

oldschool arcade game on a highrise-building

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 100.0%