This repository has been archived by the owner on May 28, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
212 lines (173 loc) · 10.2 KB
/
index.php
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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
<!DOCTYPE html>
<html>
<!-- =====================================================================
Copyright (c) 2014 Matt Bogosian <[email protected]>.
Please see the LICENSE (or LICENSE.txt) file which accompanied this
software for rights and restrictions governing its use. If such a file
did not accompany this software, then please contact the author before
viewing or using this software in any capacity.
======================================================================== -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" >
<style type="text/css" media="all"><!--
@import url('http://fonts.googleapis.com/css?family=Rock+Salt|Special+Elite|Ubuntu');
@import url('_/bahaman.css');
--></style>
<title>BaHaMan (BAlanced HAngMAN)</title>
<link href="" rel="stylesheet" type="text/css"></link>
</head>
<body>
<div id="bg">
<div id="nojs" class="overlay">
<p><a href="http://www.enable-javascript.com/">Javascript must be enabled</a> for this application to work properly.</p>
<p>If you are seeing this message from Internet Explorer, this is <a href="https://github.com/posita/balanced-hangman/issues/4" target="_target">a known issue</a>. Until it is resolved, please use <a href="http://mzl.la/1gRGot0" target="_blank">Firefox</a> or <a href="http://bit.ly/LVhB9B" target="_blank">Chrome</a> instead.</p>
</div>
<div id="main">
<div id="main_bg"></div>
<div id="content">
<h1>“<a href="https://github.com/posita/balanced-hangman" target="_blank">BaHaMan!</a>”</h1>
<h2>
by <a href="http://linkd.in/1fBEffR" target="_blank">Matt Bogosian</a><br>
<span class="small">(You know, that guy you should <em>definitely</em> hire. <a id="seriously_show" class="egg_a" href="#" target="_blank">Seriously</a>.)</span>
</h2>
<div id="game">
<div id="progress_counter" class="game_help">0</div>
<div id="word">b*l*ncedh*ngm*n</div>
</div>
<div id="guesses">
<div>
<button id="guess_a" class="best_hint">A</button>
<button id="guess_b" class="hit" disabled>B</button>
<button id="guess_c" disabled>C</button>
<button id="guess_d" disabled>D</button>
<button id="guess_e" class="hit" disabled>E</button>
<button id="guess_f" disabled>F</button>
<button id="guess_g" class="hit" disabled>G</button>
<button id="guess_h" class="hit" disabled>H</button>
<button id="guess_i" disabled>I</button>
<button id="guess_j" disabled>J</button>
<button id="guess_k" disabled>K</button>
<button id="guess_l" class="hit" disabled>L</button>
<button id="guess_m" class="hit" disabled>M</button>
</div>
<div>
<button id="guess_n" class="hit" disabled>N</button>
<button id="guess_o" disabled>O</button>
<button id="guess_p" disabled>P</button>
<button id="guess_q" disabled>Q</button>
<button id="guess_r" disabled>R</button>
<button id="guess_s" disabled>S</button>
<button id="guess_t" disabled>T</button>
<button id="guess_u" disabled>U</button>
<button id="guess_v" disabled>V</button>
<button id="guess_w" disabled>W</button>
<button id="guess_x" disabled>X</button>
<button id="guess_y" disabled>Y</button>
<button id="guess_z" disabled>Z</button>
</div>
</div>
</div>
<div id="cheat">
<p id="cheat_code"><span></span><span>↑ ↑ ↓ ↓ ← → ← → B A <start></span></p>
<audio id="cheat_step" src="_/media/smb_coin.wav" preload="auto"></audio>
<audio id="cheat_ambient" src="_/media/02-underworld.mp3" preload="auto" loop></audio>
<audio id="cheat_go" src="_/media/smb_powerup.wav" preload="auto"></audio>
<audio id="cheat_fail" src="_/media/smb_mariodie_gameover.wav" preload="auto"></audio>
<textarea id="hints">Hints Mode™ activated!</textarea>
</div>
<div id="prisoners">
<button id="prisoners_first" disabled>«</button>
<button id="prisoners_prev" disabled>‹</button>
<ul id="prisoners_list">
<li id="prisoners_list_item" style="display: none;"><div></div></li>
<li class="loading"><img src="_/media/spinner.gif"></img><span class="full_height"> </span>Working...</li>
</ul>
<button id="prisoners_last" disabled>»</button>
<button id="prisoners_next" disabled>›</button>
<button id="prisoners_refresh" disabled>⟳</button>
</div>
<div id="message" class="controls_left pending">Loading page...</div>
<div class="controls_right">
<button id="help_show">Help</button>
<button id="login_show" disabled>Account</button>
<button id="new_prisoner" disabled>New game</button>
</div>
</div>
</div>
<div id="copyright"><span class="full_height"></span><a id="egg_show" class="egg_a" href="#">Copyright © 2014, Matt Bogosian.</a> See <a id="license_show" href="#">LICENSE</a> file for details.</div>
<div id="login" class="modal">
<form action="#">
<div class="controls_content">
<fieldset>
<legend>Server</legend>
<div>
<label for="server_uri">Server URI:</label>
<input name="server_uri" type="url" placeholder="https://hangman.example.dom/" required disabled></input>
</div>
</fieldset>
<fieldset>
<legend>Account</legend>
<div>
<label for="email_address">Username:</label>
<input name="email_address" type="email" placeholder="[email protected]" required autofocus></input>
</div>
<div>
<label for="password">Password:</label>
<input name="password" type="password" required></input>
</div>
</fieldset>
<fieldset>
<legend>Extras</legend>
<div>
<label for="theme_css">Theme CSS:</label>
<input name="theme_css" type="text" placeholder="uri_to_theme.css" disabled></input>
</div>
</fieldset>
<fieldset class="status">
<legend>Server status</legend>
<div id="login_message"></div>
</fieldset>
</div>
<div class="controls_right">
<button id="login_go" type="submit">Log in</button>
<button id="login_create" type="submit">New account</button>
</div>
<div class="controls_left"><button id="login_cancel" class="simplemodal-close" type="submit">Cancel</button></div>
</form>
</div>
<div id="help" class="modal">
<div id="help_content">
<p>Your best friend has been arrested and charged with arson, treason, armed robbery, and public drunkeness ... <strong>plus</strong> ... murder, mayhem, ignorance, and ugliness.</p>
<p>However, the judge, being a benevolent sort, will let your friend plea-bargain the charges down to ugliness, provided he/she has one friend. <strong>Guess who?</strong></p>
<p>To save your friend’s life, you must guess the secret word. Each time you guess a <strong>correct</strong> letter, it will be revealed.</p>
<p>But <strong>beware</strong>! Each time you guess, your friend advances one step closer to <strong>doom</strong>!</p>
<div class="small" style="bottom: 1.0em; position: absolute; right: 1.0em;">(<a href="http://bit.ly/1cuD3M8" target="_blank">inspiration</a>)</div>
</div>
</div>
<iframe id="license" class="modal" src="LICENSE"><<a href="LICENSE">LICENSE</a>></iframe>
<div id="seriously" class="modal">
<img src="http://bit.ly/1ihAxKp"></img>
</div>
<div id="egg" class="modal">
<p>“<a href="http://bit.ly/1ebG9oU" target="_blank">I don’t know, man, but this guy’s a character.</a>”</p>
<p>(“<a href="http://bit.ly/K9ve3C" target="_blank">Skrelnick.</a>”)</p>
</div>
<!-- Load scripts as late as possible to allow for earlier page
displays -->
<script type="text/javascript" src="http://code.jquery.com/jquery-1.11.0.min.js">
//# sourceMappingURL=http://code.jquery.com/jquery-1.11.0.min.map
</script>
<!-- <script type="text/javascript" src="http://code.jquery.com/ui/1.10.4/jquery-ui.js"></script> -->
<!-- <script type="text/javascript" src="http://code.jquery.com/ui/1.10.4/jquery-ui.min.js"></script> -->
<script type="text/javascript" src="_/3rdparty/Lettering.js/jquery.lettering.js"></script>
<script type="text/javascript" src="_/3rdparty/simplemodal-demo-basic-1.4.4/js/jquery.simplemodal.js"></script>
<script type="text/javascript" src="_/3rdparty/urlparse.js"></script>
<script type="text/javascript" src="_/bahaman.js"></script>
<script>
$(document).ready(function ($) {
// Bahaman._.client.email_address = '[email protected]';
// Bahaman._.client.password = 'foobar';
});
</script>
</body>
</html>