forked from jollen/html5-game-bubble-r2
-
Notifications
You must be signed in to change notification settings - Fork 3
/
index.html
55 lines (51 loc) · 1.78 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
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document</title>
<meta name="viewport" content="width=device-width, height=device-height, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<link href="css/bootstrap.min.css" rel="stylesheet">
<link rel="stylesheet" href="main.css" />
<link rel="stylesheet" href="qunit.css" />
<script src="modernizr.js" type="text/javascript"></script>
<script src="loader.js" type="text/javascript"></script>
</head>
<body>
<nav class="navbar navbar-default" role="navigation">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-ex1-collapse">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="#">Bubble</a>
</div>
<div class="collapse navbar-collapse navbar-ex1-collapse">
<ul class="nav navbar-nav">
<li class="active"><a href="index.html">Game Console</a></li>
<li><a href="chat.html">Chatroom</a></li>
<li><a href="camera.html">Camera</a></li>
</ul>
</div>
</nav>
<div id="game">
<div class="screen" id="main-menu"></div>
<div class="screen" id="game-screen">
<canvas id="board"></canvas>
</div>
<div class="screen" id="score-board"></div>
</div>
<div id="qunit"></div>
<div id="qunit-fixture"></div>
<script src="qunit.js" type="text/javascript"></script>
<script>
test("test .game-screen", function() {
ok(document.getElementById("game-screen") != null, "Passed!" );
});
test("test click event registering", function() {
ok(document.getElementById("game-screen").addEventListener != null, "Passed!" );
});
</script>
</body>
</html>