-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
79 lines (66 loc) · 2.79 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
<html>
<head>
<link rel="stylesheet" type="text/css" href="css/index.css">
</head>
<body style="background-color: black;">
<div class="navbar navbar-static-top navbar-inverse" role="navigation">
<div class="container-fluid">
<div class="navbar-header">
<a class="navbar-brand" href="#">Pacman</a>
</div>
<div id="navbar" class="navbar-collapse collapse">
<ul class="nav navbar-nav">
<li class="active"><a href="#">Play</a></li>
<li><a href="edit.html">Edit</a></li>
<li><a href="scores.html">Scores</a></li>
<li><a href="maps.html">Maps</a>
</li>
</ul>
<ul class="nav navbar-nav navbar-right">
<li><a>Last updated: Thursday, December 4, 2014</a></li>
</ul>
</div>
</div>
</div>
<div class="container">
<div class="col-md-3">
<div class="panel panel-default">
<div class="panel-heading" style="color: blue"><center>Top Ten</center></div>
<!-- Table -->
<table id="scoreContainer" class="table" style="color: blue">
</table>
</div>
</div>
<!-- This is where our game shows up -->
<div class="col-md-9">
<center>
<div id="game" style="border-radius: 10px"></div>
<button type="button" class="btn btn-success" onclick="Crafty.scene('startScreen')" style="margin-top: 10px; cursor: pointer;">New Game</button>
<button type="button" class="btn btn-success" onclick="Crafty.pause()" style="margin-top: 10px; cursor: pointer;">Pause</button>
</center>
</div>
</div>
<!-- Import libraries -->
<script src="libs/jquery.js"></script>
<script src="libs/crafty-min.js"></script>
<link href="libs/bootstrap.min.css" rel="stylesheet">
<!-- import components -->
<script src="components/ghost.js"></script>
<script src="components/pacman.js"></script>
<script src="components/wall.js"></script>
<script src="components/pellet.js"></script>
<script src="components/fruit.js"></script>
<script src="components/powerUp.js"></script>
<script src="components/gate.js"></script>
<script src="components/score.js"></script>
<script src="components/lives.js"></script>
<script src="components/levels.js"></script>
<script src="components/ghost-ai/blinky.js"></script>
<script src="components/ghost-ai/inky.js"></script>
<script src="components/ghost-ai/pinky.js"></script>
<script src="components/ghost-ai/clyde.js"></script>
<script src="components/bullet.js"></script>
<!-- import game -->
<script src="main.js"></script>
</body>
</html>