1
0
mirror of https://github.com/taigrr/JSPong synced 2025-01-18 04:33:12 -08:00

Added y-movement, y-bouncing, and preliminary 'AI'

This commit is contained in:
Tai Groot
2016-04-27 14:45:12 -07:00
parent 97191fbc11
commit 7fb064451c
3 changed files with 93 additions and 15 deletions

View File

@@ -7,7 +7,7 @@
</head>
<link rel="stylesheet" type="text/css" href="gameStyles.css"/>
<center>
<canvas id="myCanvas" style="border:3px solid #98999A;">
<canvas id="myCanvas" style="border:3px solid #98999A;" onclick="toggleFullScreen();">
Your browser does not support the HTML5 canvas tag. <br>
Try using a more modern browser, like <a href="https://www.google.com/chrome/browser/">Google Chrome</a>,to play the game.
</canvas>