-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
62 lines (54 loc) · 1.96 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
55
56
57
58
59
60
61
62
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Pixel Snake</title>
<link rel="stylesheet" type="text/css" href="css/bootstrap.css">
<link rel="stylesheet" type="text/css" href="css/pixel_snake.css">
<script src="js/jquery/jquery-2.2.1.js"></script>
<script src="js/bootstrap.js"></script>
<script src="js/sound-js/sound.js"></script>
<script src="js/pixelsnake/pixel_snake.js"></script>
</head>
<body>
<nav class="navbar navbar-fixed-top navbar-dark bg-inverse">
<a class="navbar-brand" href="#">Pixel Snake</a>
<!--ul class="nav navbar-nav">
<li class="nav-item active">
<a class="nav-link" href="#">Home <span class="sr-only">(current)</span></a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">About</a>
</li>
</ul-->
</nav>
<div class="container">
<div class="row">
<div class="col-md-10">
<div id="game-area">
<div id="matrix"></div>
<div id="gameover">
<h1>Game Over</h1>
<h3><Score></Score></h3>
<p><button id="restart-button" class="btn btn-primary"> Start Over</button></p>
</div>
</div>
</div>
<div class="col-md-2">
<div class="row">
<div class="col-lg-6">Hi-Score</div>
<div class="col-lg-6" id="hi-score">0</div>
</div>
<div class="row">
<div class="col-lg-6">Score</div>
<div class="col-lg-6" id="score">0</div>
</div>
<div class="row">
<div class="col-lg-6">Level</div>
<div class="col-lg-6" id="level">0</div>
</div>
</div>
</div>
</div>
</body>
</html>