User Tools

Site Tools


dma:java13:assignment12

Table of Contents

Assignment 12

BREAKOUT!

STARTER CODE!!!

Download Here

SOLUTION CODE!!!

Solution Code

Assignment:

  1. Make red bricks - http://pastebin.com/z8du8vQZ
  2. Make multicolored bricks
  3. Make a paddle
  4. Make paddle move - http://pastebin.com/jD7egcZn
  5. Make a ball to the center of the screen - http://pastebin.com/X3GbaJGi
  6. Make ball move and bounce

Additionally:

  • Make it so there are 3 lives that count down
  • Make it keep track of your score
		for (int i = 0; i < NTURNS; i++) {
			setUpTurn(i);
			playTurn(); 
			if(numBricksLeft==0) break;
		}
		

Bonus:

  • FileIO and keeping track of scoreboard: Scoreboard
/soe/sherol/.html/teaching/data/pages/dma/java13/assignment12.txt · Last modified: 2013/08/07 09:58 by ffpaladin