forked from phuzisham/adventure-game
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
executable file
·58 lines (54 loc) · 1.91 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
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="css/bootstrap.css" type="text/css">
<link rel="stylesheet" href="css/styles.css" type="text/css">
<script type="text/javascript" src="js/jquery-3.2.1.js"></script>
<script type="text/javascript" src="js/scripts.js"></script>
<title>Title</title>
</head>
<body>
<div class="jumbotron">
<div class="container">
<h1>Quest For The Flerbian Texts</h1>
</div>
</div>
<div class="container">
<div class="row">
<div id="stats" class="well col-sm-3">
<h3>Stats</h3>
<p>Health: <span id="player-health"></span>%</p>
<div class="progress">
<div id="healthBar" class="progress-bar progress-bar-danger progress-bar-striped active" role="progressbar" aria-valuenow="0" aria-valuemin="0" aria-valuemax="100" style="width:90%">
</div>
</div>
<h4>Hover over items for description.</h4>
<p>Inventory: <span id="player-inventory"></span></p>
<img src="img/backpack.png">
</div>
<div id="story" class="well col-sm-9">
<div class="messages">
<!-- we will replace this innerHTML later -->
</div>
<div id="messageDiv">
</div>
<button class="btn try-again">You Died Try Again</button>
<button class="btn try-again-end">Try Again With Current Inventory</button>
<div class="button-group">
<!-- We will replace this innerHTML later -->
</div>
<div id="storyImages">
<img src="img/cave-entrance.png">
</div>
</div>
</div>
<div class="mainaudio">
<h4>Click to play soundtrack:</h4>
<audio loop controls>
<source src="audio/themesong.mp3" type="audio/mp3">
<p>Your browser doesn't support HTML5 audio.</p>
</audio>
</div>
</div>
</body>
</html>