diff --git a/mdn-breakout/index.html b/mdn-breakout/index.html index 8c02018..ec0c943 100644 --- a/mdn-breakout/index.html +++ b/mdn-breakout/index.html @@ -26,6 +26,20 @@ canvas { background: #eee; display: block; margin: 0 auto; } var y = canvas.height-30; var dx = 2; var dy = -2; + var brickRowCount = 3; + var brickColumnCount = 5; + var brickWidth = 75; + var brickHeight = 20; + var brickPadding = 10; + var brickOffsetTop = 30; + var brickOffsetLeft = 30; + var bricks = []; + for(c=0; c