Skip to content

Instantly share code, notes, and snippets.

@AlphaGit
Created March 22, 2013 03:09
Show Gist options
  • Save AlphaGit/5218647 to your computer and use it in GitHub Desktop.
Save AlphaGit/5218647 to your computer and use it in GitHub Desktop.
// ArkanoidStage
+function ArkanoidStage(drawingContext, height, width) {
+ this.blockWidth = width / 10;
+ this.blockHeight = height / 50;
+ this.ballRadius = this.blockHeight * 0.8;
+
+ var player = new ArkanoidPlayer(drawingContext, "#000", this.blockHeight, this.blockWidth, width, height);
+ player.draw();
+
+ return {
+
+ };
+}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment