Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function startGame() {
- myGamePiece = new component(paddleWidth, paddleHeight, "grey", paddleX, 440);
- myApponent = new component(apponentWidth, apponentHeight, "grey", apponentX, 30);
- myScore = new component("30px", "Consolas", "black", 280, 40, "text");
- myGameArea.start();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement