Advertisement
Guest User

Untitled

a guest
Jun 17th, 2019
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. function startGame() {
  2. myGamePiece = new component(paddleWidth, paddleHeight, "grey", paddleX, 440);
  3. myApponent = new component(apponentWidth, apponentHeight, "grey", apponentX, 30);
  4. myScore = new component("30px", "Consolas", "black", 280, 40, "text");
  5. myGameArea.start();
  6. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement