-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex_BACKUP_4656.html
57 lines (53 loc) · 1.78 KB
/
index_BACKUP_4656.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
<!DOCTYPE html>
<html>
<head>
<title>Dungeon of Chaos</title>
<link rel="stylesheet" href="style/style.css">
</head>
<body onload="initDungeon();">
<h1>Dungeon of Chaos</h1>
<div>
<div>
<div class="entity-container">
<h1><span id="player-name"></span>: <span id="player-hp"></span></h1>
<h3><ul id="player-stat-list"></ul></h3>
</div>
<div id="canvas-container">
<canvas id="dungeon-canvas" width="500" height="500"></canvas>
</div>
</div>
<div class="entity-container">
<h1><span id="player-inventory"></span>: <span id="player-gold"></span></h1>
<h3><ul id="player-item-list"></ul></h3>
</div>
<hr />
<div>
<label for="player-select">Hero: <select name="player-select" id="player-select" onchange="dungeon.reset()" /></select>
</div>
<div>
<button id="btn-fight" onclick="dungeon.fight();">Melee</button>
<button id="btn-steal" onclick="dungeon.fight('Steal');">Steal</button>
<button id="btn-potion" onclick="dungeon.drinkPotion();">Potion</button>
<button id="btn-reset" onclick="dungeon.reset();">Reset Combat</button>
</div>
<hr />
<<<<<<< HEAD
<div id="fight-log"></div>
=======
<div style="height:300px;width:400px;border:2px solid #ccc;font:14px/24px Verdana, Geneva, sans-serif;overflow:auto;" id="fight-log"></div>
>>>>>>> 376de3908d589c822ad9f6a7b6e0803f7e709a24
</div>
<!-- Development Libs -->
<script src="lib/easeljs/lib/easeljs-0.8.2.combined.js"></script>
<!-- Game Data Files -->
<script src="data/heroes.js"></script>
<script src="data/mobs.js"></script>
<script src="data/actions.js"></script>
<script src="data/loot.js"></script>
<!-- Game App Files -->
<script src="app/hero.js"></script>
<script src="app/engine.js"></script>
<script src="app/game.js"></script>
<script src="app/app.js"></script>
</body>
</html>