lab-07 - CSE 380 Lab #7 Spring 2009 Objective In this lab,...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
CSE 380 Lab #7 Spring 2009 Objective In this lab, you will incorporate all of the concepts you learned in labs #1 through #6 to design a game. Description Write an ARM assembly language program that implements the game Breakout , as described below. The Motivation This game is motivated by the classic video game Breakout , developed by Atari in 1976. If you are not familiar with the game, there are many online versions that you may play to learn more about the game. You will find links to several on the course website. The Objective Your objective is to breakout of as many boards as possible by destroying all the bricks on a board. A brick is destroyed when it is impacted by a ball. The ball bounces off the top, right, and left walls of the room and off the bricks. You control a paddle at the bottom of the board that will keep the ball in play. If you don’t deflect the ball back in play as it moves downward, that ball is lost. You only have four balls to use during the course of the game. The Rules The Board - The board is implemented in HyperTerminal as a rectangle, 30 characters wide by 12 characters high. - The third, fourth, and fifth rows from the top of the board are the rows of bricks that you must break through. Every time the ball hits a brick, the ball bounces off the brick and the brick disappears. A brick is four characters wide. You may use whatever characters you’d like for the bricks. Every time a new board is started, the placement of the bricks must be random. - The ball bounces off the top, right, and left walls when it impacts them. - Your paddle starts in the center of the board at the bottom. The user can move the board right and left, as controlled by keystrokes in HyperTerminal . - The ball is a single character on the board. The Game Speed - During the initial level (level 0), the ball moves at a rate of one position every 0.3 seconds. Every time the ball bounces off the top of the board, this period should decrease by 0.03 seconds. This period should not fall below 0.05 seconds. -
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 4

lab-07 - CSE 380 Lab #7 Spring 2009 Objective In this lab,...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online