-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpong.html
More file actions
41 lines (40 loc) · 1.29 KB
/
pong.html
File metadata and controls
41 lines (40 loc) · 1.29 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>Pong - Vishnu Sivan</title>
<style>
#pongCanvas {
padding: 0;
background: #111111;
display: block;
margin: 0 auto;
}
*{padding:0;margin:0;}
.wrapper{
width: 960px;
margin:0 auto;
line-height:36px;
text-align:center;
color:#999;
}
canvas{display:block;background: #000;}
.mod-botton{
height: 30px;
padding: 5px 0;
text-align: center;
}
</style>
</head>
<body>
<div class="wrapper">
<canvas id="pongCanvas" width="900" height="600" onclick="reloadGame()"></canvas>
<div class="mod-botton">
<p>Rotate your hands to move the player. Eg: Rotate right to move right</p>
<!-- <a class="github-button" href="https://github.com/codemaker2015" data-style="mega" data-count-href="/codemaker2015/followers" data-count-api="/users/codemaker2015#followers" data-count-aria-label="# followers on GitHub" aria-label="Follow @codemaker2015 on GitHub">Follow @codemaker2015</a> -->
</div>
</div>
<script src="common.js"></script>
<script src="ping.js"></script>
</body>
</html>