-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
109 lines (69 loc) · 2.2 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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
<!DOCTYPE html>
<html>
<head>
<title>L.O.G.</title>
<link href="css/bootstrap.min.css" rel="stylesheet" />
<link href="css/log.css" rel="stylesheet" />
</head>
<body>
<div class="container">
<header>
<h1>LOG</h1>
<h2>Legend Of the Ged'radn</h2>
<nav>
</nav>
</header>
<section class="scene" data-bind="template:{name: scene().name, data:scene }">
</section>
<footer>
R.K.Brewer - <a href="http://github.com/webbrewer/textadventure">github</a>
</footer>
</div>
<script id="scene-battle" type="text/html">
<div class="char char-mob">
<dl>
<dt>Name</dt>
<dd>{{ mob.name }}</dd>
<dt>HP</dt>
<dd>{{ mob.hp }}</dd>
</dl>
</div>
<div class="battle-log" data-bind="scrollToBottom: blog">
<div class="scrollable" data-bind="html: blog">
</div>
</div>
<div class="char char-player">
<dl>
<dt>Name</dt>
<dd>{{ player.name }}</dd>
<dt>HP</dt>
<dd>{{ player.hp }}</dd>
</dl>
</div>
<nav>
<a data-bind="click: attackMob" href="#">A) Attack</a>
<a data-bind="click: runFromMob" href="#">R) Run</a>
</nav>
</script>
<script src="js/data/mobdata.js"></script>
<script src="js/data/playerdata.js"></script>
<script src="http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<script src="http://cdnjs.cloudflare.com/ajax/libs/knockout/3.2.0/knockout-min.js"></script>
<script src="js/vendor/knockout.mapping-latest.js"></script>
<script src="js/vendor/knockout.punches.min.js"></script>
<script src="js/vendor/ko.extensions.js"></script>
<script src="js/character-actions/attack-action.js"></script>
<script src="js/character-actions/defense-action.js"></script>
<script src="js/character-actions/run-action.js"></script>
<script src="js/character-castes/caste.js"></script>
<script src="js/character-castes/warrior-caste.js"></script>
<script src="js/characters/character.js"></script>
<script src="js/characters/mob-character.js"></script>
<script src="js/characters/player-character.js"></script>
<script src="js/scenes/battle-scene.js"></script>
<script src="js/scenes/turn-chart.js"></script>
<script src="js/scenes/scene.js"></script>
<script src="js/scenes/scene-manager.js"></script>
<script src="js/main.js"></script>
</body>
</html>