Breakout begins with five rows of bricks, each row a different color.
The color order from the bottom up is blue, cyan, green, green and red.
Using a single ball, the player must knock down as many bricks as possible by using the walls and/or the paddle below to ricochet the ball against the bricks and eliminate them. Blue bricks earn one point each, cyan bricks earn two points, green bricks earn three points, yellow bricks earn four and the top-level red bricks score five points each. To add to the challenge, the paddle shrinks to one-half its size after the ball has broken through the red row and hit the upper wall.
(adapted from Wikipedia)
Paddle is controlled with mouse.
Nine speed levels, changed using num-keys: 1...9.
Sound effects are switched on/off using 'S'.
Game is paused either with mouse press or 'P'.
breakout % Start Main Breakout Interface
Per-Anders Ekstrom (2021). Breakout (https://www.mathworks.com/matlabcentral/fileexchange/14152-breakout), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Inspired: DFT - Delayed Feedback Tracking
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!