-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
54 lines (46 loc) · 1.93 KB
/
index.html
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
42
43
44
45
46
47
48
49
50
51
52
53
54
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>SPACE PONG</title>
<link href="https://fonts.googleapis.com/css?family=Coda|Orbitron:900" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="./asset/css/main.css">
<link rel="icon" href="http://res.cloudinary.com/supsupvu/image/upload/v1499719999/space_pong_fav_ir0ftl.png"/>
<script src="https://code.createjs.com/easeljs-0.8.2.min.js"></script>
<!-- Google Analytics -->
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-103017455-1', 'auto');
ga('send', 'pageview');
</script>
</head>
<body>
<script src="bundle.js"></script>
<h2>SPACE PONG</h2>
<div id="everything">
<div class='game'>
<canvas id="myCanvas" width="800" height="600"></canvas>
</div>
<div class='instructions'>
<h3>How To Play</h3>
<div class='textblock'>
<br>Click to serve ball!</br>
<br>Score goals and prevent the CPU opponent from scoring.</br>
<br>TIP: Apply spin by moving paddle when hitting the ball</br>
<br> Press 'm' to toggle sound. </b>
</div>
<span class='devinfo'>
<p>Developer: Vu T. Pham</p>
</span>
<span class='buttons'>
<a href="mailto:vutpham@outlook.com"><img src="./asset/images/2.png"/></a>
<a href="https://www.linkedin.com/in/vutpham/"><img src="./asset/images/3.png"/></a>
<a href="https://github.com/vutpham/space-pong"><img src="./asset/images/GitHub-Mark-64px.png"/></a>
</span>
</div>
</div>
</body>
</html>