forked from erictrinh/jsbomberman
-
Notifications
You must be signed in to change notification settings - Fork 0
/
jsbomber.html
23 lines (21 loc) · 1.23 KB
/
jsbomber.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<!DOCTYPE HTML>
<html>
<head>
<title>JSBomber</title>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
<script src="js/jcanvas.min.js"></script>
<script src="js/jsbomber.js"></script>
<link href='http://fonts.googleapis.com/css?family=Neuton:400,200' rel='stylesheet' type='text/css'>
</head>
<body>
<div style="width: 450px; margin: 0 auto; font-family: Neuton; font-size: 20px;">
<div id="stats" style="color: #b7b7b7;">
<div style="width: 300px; display: inline-block; float: left;">Bombs: <span id="numbombs1">0</span> | Range: <span id="rangebombs1">0</span> | Awesomeness: <span id="awesomeness">0</span></div>
<div style="width: 300px; display: inline-block; float: right;">Bombs: <span id="numbombs2">0</span> | Range: <span id="rangebombs2">0</span> | Awesomeness: <span>0</span></div>
</div>
<canvas id="map" width="450" height="450" style="position: relative; border: 1px solid #333;">
</canvas>
<p>For the best gaming experience, open <a href="http://www.youtube.com/watch?v=-Bs1NBiR3t0" target="_blank">this link</a> in another tab, then play this game.</p>
</div>
</body>
</html>