Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 96 lines (76 sloc) 1.954 kB
35f2082 @clanehin Beginning switch to mustache templates.
authored
1 {{> header}}
2
37a6fb8 @clanehin Replaces heist entirely with mustache templates.
authored
3 {{#play}}
35f2082 @clanehin Beginning switch to mustache templates.
authored
4 <div id="magicbox">
5
ae326fc @clanehin Color map.
authored
6 {{#map}}
35f2082 @clanehin Beginning switch to mustache templates.
authored
7 <div id="gameplaybox" class="roguebox">
ae326fc @clanehin Color map.
authored
8 {{> map}}
35f2082 @clanehin Beginning switch to mustache templates.
authored
9 <a href="/help-map" class="help">?</a>
10 </div>
ae326fc @clanehin Color map.
authored
11 {{/map}}
35f2082 @clanehin Beginning switch to mustache templates.
authored
12
13 <div id="messagebox" class="roguebox">
14 {{#messages}}
37a6fb8 @clanehin Replaces heist entirely with mustache templates.
authored
15 <p>{{{text}}}</p>
35f2082 @clanehin Beginning switch to mustache templates.
authored
16 {{/messages}}
17 </div>
18
19 <div id="controls" class="roguebox">
37a6fb8 @clanehin Replaces heist entirely with mustache templates.
authored
20 {{#statsblock}}
21 <pre>{{{text}}}</pre>
22 {{/statsblock}}
2d418e2 @clanehin Implements animated events.
authored
23
24 {{#controls}}
35f2082 @clanehin Beginning switch to mustache templates.
authored
25 <form action="/play/move" method="post">
26
27 <div>
28 <select name="mode">
29 <option value="normal" selected="selected">Normal</option>
30 <!--
31 <option value="attack">Attack</option>
32 <option value="fire">Fire</option>
33 -->
34 <option value="jump">Teleport</option>
35 </select>
36 </div>
37
38 <div>
39 <div class="buttonrow">
40 <button type="submit" name="direction" value="nw">NorthWest</button>
41 <button type="submit" name="direction" value="n">North</button>
42 <button type="submit" name="direction" value="ne">NorthEast</button>
43 </div>
44
45 <div class="buttonrow">
46 <button type="submit" name="direction" value="w">West</button>
47 <button type="submit" name="direction" value="wait">Wait</button>
48 <button type="submit" name="direction" value="e">East</button>
49 </div>
50
51 <div class="buttonrow">
52 <button type="submit" name="direction" value="sw">SouthWest</button>
53 <button type="submit" name="direction" value="s">South</button>
54 <button type="submit" name="direction" value="se">SouthEast</button>
55 </div>
56 </div>
2d418e2 @clanehin Implements animated events.
authored
57 {{/controls}}
58
59 {{#is-snapshot}}
60 <form class="autosubmit-after-pause" action="/play/pop" method="post">
61 <button type="submit">Pop Next Event</button>
62 </form>
63 {{/is-snapshot}}
35f2082 @clanehin Beginning switch to mustache templates.
authored
64
65 <a href="/help-actions" class="help">?</a>
66
67 </form>
68
69 <!--
70 <form action="/play/inventory" method="get">
71 <button type="submit">Inventory</button>
72 </form>
73 -->
74 </div>
75
76 </div>
37a6fb8 @clanehin Replaces heist entirely with mustache templates.
authored
77 {{/play}}
78
79 {{#empty-game}}
80 {{> empty-game}}
81 {{/empty-game}}
82
83 {{#rolled-creature}}
84 {{> rolled-creature}}
85 {{/rolled-creature}}
86
87 {{#player-death}}
88 {{> player-death}}
89 {{/player-death}}
90
91 {{#player-victory}}
92 {{> player-victory}}
93 {{/player-victory}}
35f2082 @clanehin Beginning switch to mustache templates.
authored
94
95 {{> footer}}
Something went wrong with that request. Please try again.