-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.html
190 lines (184 loc) · 15.8 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
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
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="X-UA-Compatible" content="IE=Edge">
<link rel="stylesheet" href="css/board.css" />
<link rel="stylesheet" href="//code.jquery.com/ui/1.10.2/themes/dot-luv/jquery-ui.css" />
<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
<script src="//ajax.googleapis.com/ajax/libs/jqueryui/1.10.1/jquery-ui.min.js"></script>
<script type="text/javascript" src="js/jquery.maphilight.js"></script>
<!--[if lte IE 8]>
<link rel="stylesheet" href="css/ie8.css" />
<script type="text/javascript" src="js/selectivizr-min.js"></script>
<![endif]-->
<script src="socket.io/socket.io.js"></script>
<script data-main="lib/client/main" src="js/require.js"></script>
<script id="space" type="text/html">
<area shape="circle" coords="0,0,10" class="{{class}}" id="{{ id }}">
</script>
<script id="chat_message" type="text/html">
<div class="chat_message {{role}}">
<span class="name">{{user}}</span>
{{message}}
</div>
</script>
<script id="history_entry" type="text/html">
<div class="history_entry">
<span class="text {{type}}">{{text}}</span>
</div>
</script>
<script id="status" type="text/html">
<div class="dashboard_section">
<div id="status" class="{{_class}}"><div id="setup"><img src="images/transparent_pixel.gif" class="vertical-aligner"><span>SETUP: PLACE INSURGENTS</span></div></div>
</div>
</script>
<script id="piecemarker" type="text/html">
<div id="marker{{circle}}-{{rank}}" class="marker marker{{circle}} rotate{{rotate}}{{half}}">
<div class="content">
<span class="pieces"></span>
</div>
</div>
</script>
<script id="piece" type="text/html">
<img src="images/piece_{{type}}.png" class="piece"/>
</script>
<script id="ghost" type="text/html">
<img src="images/piece_insurgent_ghost.png" class="piece ghost"/>
</script>
<script id="gameover" type="text/html">
<div id="gameover_banner" class="{{winner}}"></div>
</script>
</head>
<body>
<div id="settings_dialog" class="dialog" title="Settings">
<div class="dialog_content_wrapper">
<div id="settings_content" class="dialog_content">
<div class="close_button close"></div>
<span class="title">Settings</span>
<div class="hr"></div>
<ul>
<li id="toggle_sound" class="toggle_sound">Disable Sound</li>
<li id="toggle_history_log" class="toggle_history_log">Show History Log</li>
<li class="separator"></li>
<li><a href="rules.html" target="_new" onClick="window.open(this.href, 'rules', 'width=850,height=800,resizable,scrollbars=yes').focus();return(false);">Rules</a></li>
<li><a href="credits" target="_new" onClick="window.open(this.href, 'credits', 'width=660,height=800,resizable,scrollbars=yes').focus();return(false);">Credits</a></li>
<li class="separator"></li>
<li id="show_confirm_forfeit">Forfeit Game</li>
<li class="separator"></li>
<li class="close">Close</li>
</ul>
</div>
<div id="forfeit_content" class="dialog_content">
<div class="close_button close"></div>
<span class="title">Forfeit</span>
<div class="hr"></div>
<p>Are you sure you want to forfeit the game?</p>
<ul>
<li id="confirm_forfeit">Forfeit Game</li>
<li class="close">Cancel</li>
</ul>
</div>
</div>
</div>
<audio src="sounds/your_turn.wav" preload="auto" id="your_turn">
</audio>
<div id="table_area">
<div id="notification"></div>
<div id="selection_wrapper">
<img id="selection_layer" class="board-position" src="images/transparent_board.gif" usemap="#selectors"/>
<map name="selectors" id="selection_map">
<area class="space" id="space0-0" shape="poly" coords="225,16,242,78,257,75,268,73,281,72,293,72,313,72,325,72,337,74,349,76,361,79,378,16,360,12,342,9,327,7,304,6,283,6,262,8,246,11,234,13" alt="space0-0" nohref="nohref" />
<area class="space" id="space0-1" shape="poly" coords="378,16,362,78,377,83,387,87,399,92,409,98,427,108,437,114,446,122,456,130,465,138,511,92,497,80,483,68,471,59,452,47,434,36,414,27,399,22,388,18" alt="space0-0" nohref="nohref" />
<area class="space" id="space0-2" shape="poly" coords="511,92,466,138,476,150,483,158,491,169,497,179,507,197,513,207,517,218,521,230,525,242,588,225,582,207,576,190,570,176,559,156,549,138,537,120,526,108,518,99" alt="space0-0" nohref="nohref" />
<area class="space" id="space0-3" shape="poly" coords="588,225,526,242,529,257,531,268,532,281,532,293,532,313,532,325,530,337,528,349,525,361,588,378,592,360,595,342,597,327,598,304,598,283,596,262,593,246,591,234" alt="space0-0" nohref="nohref" />
<area class="space" id="space0-4" shape="poly" coords="588,378,526,362,521,377,517,387,512,399,506,409,496,427,490,437,482,446,474,456,466,465,512,511,524,497,536,483,545,471,557,452,568,434,577,414,582,399,586,388" alt="space0-0" nohref="nohref" />
<area class="space" id="space0-5" shape="poly" coords="512,511,466,466,454,476,446,483,435,491,425,497,407,507,397,513,386,517,374,521,362,525,379,588,397,582,414,576,428,570,448,559,466,549,484,537,496,526,505,518" alt="space0-0" nohref="nohref" />
<area class="space" id="space0-6" shape="poly" coords="379,588,362,526,347,529,336,531,323,532,311,532,291,532,279,532,267,530,255,528,243,525,226,588,244,592,262,595,277,597,300,598,321,598,342,596,358,593,370,591" alt="space0-0" nohref="nohref" />
<area class="space" id="space0-7" shape="poly" coords="226,588,242,526,227,521,217,517,205,512,195,506,177,496,167,490,158,482,148,474,139,466,93,512,107,524,121,536,133,545,152,557,170,568,190,577,205,582,216,586" alt="space0-0" nohref="nohref" />
<area class="space" id="space0-8" shape="poly" coords="93,512,138,466,128,454,121,446,113,435,107,425,97,407,91,397,87,386,83,374,79,362,16,379,22,397,28,414,34,428,45,448,55,466,67,484,78,496,86,505" alt="space0-0" nohref="nohref" />
<area class="space" id="space0-9" shape="poly" coords="16,379,78,362,75,347,73,336,72,323,72,311,72,291,72,279,74,267,76,255,79,243,16,226,12,244,9,262,7,277,6,300,6,321,8,342,11,358,13,370" alt="space0-0" nohref="nohref" />
<area class="space" id="space0-10" shape="poly" coords="16,226,78,242,83,227,87,217,92,205,98,195,108,177,114,167,122,158,130,148,138,139,92,93,80,107,68,121,59,133,47,152,36,170,27,190,22,205,18,216" alt="space0-0" nohref="nohref" />
<area class="space" id="space0-11" shape="poly" coords="92,93,138,138,150,128,158,121,169,113,179,107,197,97,207,91,218,87,230,83,242,79,225,16,207,22,190,28,176,34,156,45,138,55,120,67,108,78,99,86" alt="space0-0" nohref="nohref" />
<area class="space" id="space1-0" shape="poly" coords="302,71,302,137,313,137,323,137,335,140,345,142,354,145,360,147,368,150,375,154,384,158,417,103,401,94,384,86,369,81,351,76,335,73,317,72" alt="space1-1" />
<area class="space" id="space1-1" shape="poly" coords="418,102,385,159,394,165,403,170,412,178,419,185,426,192,430,197,435,203,439,210,445,218,501,187,492,171,481,156,471,144,457,131,445,120,430,110" alt="space1-1" />
<area class="space" id="space1-2" shape="poly" coords="502,186,445,220,450,229,455,238,459,250,462,259,464,269,465,275,467,283,467,291,468,301,532,302,532,284,530,265,527,250,522,231,517,216,509,200" alt="space1-2" />
<area class="space" id="space1-3" shape="poly" coords="533,302,467,302,467,313,467,323,464,335,462,345,459,354,457,360,454,368,450,375,446,384,501,417,510,401,518,384,523,369,528,351,531,335,532,317" alt="space1-3" />
<area class="space" id="space1-4" shape="poly" coords="502,417,445,384,439,394,434,403,426,412,419,419,412,426,407,430,401,435,394,439,386,445,417,501,433,492,448,481,460,471,473,457,484,445,494,430" alt="space1-4" />
<area class="space" id="space1-5" shape="poly" coords="418,502,385,445,375,450,366,455,354,459,345,462,335,464,329,465,321,467,313,467,303,468,302,532,320,532,339,530,354,527,373,522,388,517,404,509" alt="space1-5" />
<area class="space" id="space1-6" shape="poly" coords="302,533,302,467,291,467,281,467,269,464,259,462,250,459,244,457,236,454,229,450,220,446,187,501,203,510,220,518,235,523,253,528,269,531,287,532" alt="space1-6" />
<area class="space" id="space1-7" shape="poly" coords="187,502,220,445,210,439,201,434,192,426,185,419,178,412,174,407,169,401,165,394,159,386,103,417,112,433,123,448,133,460,147,473,159,484,174,494" alt="space1-7" />
<area class="space" id="space1-8" shape="poly" coords="102,418,159,385,154,375,149,366,145,354,142,345,140,335,139,329,137,321,137,313,136,303,72,302,72,320,74,339,77,354,82,373,87,388,95,404" alt="space1-8" />
<area class="space" id="space1-9" shape="poly" coords="71,302,137,302,137,291,137,281,140,269,142,259,145,250,147,244,150,236,154,229,158,220,103,187,94,203,86,220,81,235,76,253,73,269,72,287" alt="space1-9" />
<area class="space" id="space1-10" shape="poly" coords="102,187,159,220,165,210,170,201,178,192,185,185,192,178,197,174,203,169,210,165,218,159,187,103,171,112,156,123,144,133,131,147,120,159,110,174" alt="space1-10" />
<area class="space" id="space1-11" shape="poly" coords="186,102,219,159,229,154,238,149,250,145,259,142,269,140,275,139,283,137,291,137,301,136,302,72,284,72,265,74,250,77,231,82,216,87,200,95" alt="space1-11" />
<area class="space" id="space2-0" shape="poly" coords="344,142,328,205,335,207,341,210,351,215,357,219,362,222,367,226,371,230,418,185,411,177,399,168,391,162,384,158,373,152,360,147,351,144" alt="space2-0" />
<area class="space" id="space2-1" shape="poly" coords="418,184,373,231,378,236,382,242,388,251,391,258,394,263,396,269,398,274,461,259,459,248,453,234,449,225,445,218,438,208,430,197,423,190" alt="space2-1" />
<area class="space" id="space2-2" shape="poly" coords="462,258,399,276,401,283,401,290,402,301,401,308,401,314,400,320,399,326,461,344,465,334,467,319,468,309,468,301,467,288,465,275,463,265" alt="space2-2" />
<area class="space" id="space2-3" shape="poly" coords="462,344,399,328,397,335,394,341,389,351,385,357,382,362,378,367,374,371,419,418,427,411,436,399,442,391,446,384,452,373,457,360,460,351" alt="space2-3" />
<area class="space" id="space2-4" shape="poly" coords="420,418,373,373,368,378,362,382,353,388,346,391,341,394,335,396,330,398,345,461,356,459,370,453,379,449,386,445,396,438,407,430,414,423" alt="space2-4" />
<area class="space" id="space2-5" shape="poly" coords="346,462,328,399,321,401,314,401,303,402,296,401,290,401,284,400,278,399,260,461,270,465,285,467,295,468,303,468,316,467,329,465,339,463" alt="space2-5" />
<area class="space" id="space2-6" shape="poly" coords="260,462,276,399,269,397,263,394,253,389,247,385,242,382,237,378,233,374,186,419,193,427,205,436,213,442,220,446,231,452,244,457,253,460" alt="space2-6" />
<area class="space" id="space2-7" shape="poly" coords="186,420,231,373,226,368,222,362,216,353,213,346,210,341,208,335,206,330,143,345,145,356,151,370,155,379,159,386,166,396,174,407,181,414" alt="space2-7" />
<area class="space" id="space2-8" shape="poly" coords="142,346,205,328,203,321,203,314,202,303,203,296,203,290,204,284,205,278,143,260,139,270,137,285,136,295,136,303,137,316,139,329,141,339" alt="space2-8" />
<area class="space" id="space2-9" shape="poly" coords="142,260,205,276,207,269,210,263,215,253,219,247,222,242,226,237,230,233,185,186,177,193,168,205,162,213,158,220,152,231,147,244,144,253" alt="space2-9" />
<area class="space" id="space2-10" shape="poly" coords="184,186,231,231,236,226,242,222,251,216,258,213,263,210,269,208,274,206,259,143,248,145,234,151,225,155,218,159,208,166,197,174,190,181" alt="space2-10" />
<area class="space" id="space2-11" shape="poly" coords="258,142,276,205,283,203,290,203,301,202,308,203,314,203,320,204,326,205,344,143,334,139,319,137,309,136,301,136,288,137,275,139,265,141" alt="space2-11" />
<area class="space" id="space3-0" shape="poly" coords="351,215,319,271,324,275,327,278,330,282,332,284,388,252,382,242,375,234,369,228,362,222,356,218" alt="space3-0" />
<area class="space" id="space3-1" shape="poly" coords="388,251,332,284,335,290,336,294,336,299,337,301,401,302,401,290,399,280,397,271,394,263,391,256" alt="space3-1" />
<area class="space" id="space3-2" shape="poly" coords="402,301,337,301,336,308,335,312,333,316,333,319,388,351,394,341,397,331,400,323,401,314,402,307" alt="space3-2" />
<area class="space" id="space3-3" shape="poly" coords="389,351,333,319,329,324,326,327,322,330,320,332,352,388,362,382,370,375,376,369,382,362,386,356" alt="space3-3" />
<area class="space" id="space3-4" shape="poly" coords="353,388,320,332,314,335,310,336,305,336,303,337,302,401,314,401,324,399,333,397,341,394,348,391" alt="space3-4" />
<area class="space" id="space3-5" shape="poly" coords="303,402,303,337,296,336,292,335,288,333,285,333,253,388,263,394,273,397,281,400,290,401,297,402" alt="space3-5" />
<area class="space" id="space3-6" shape="poly" coords="253,389,285,333,280,329,277,326,274,322,272,320,216,352,222,362,229,370,235,376,242,382,248,386" alt="space3-6" />
<area class="space" id="space3-7" shape="poly" coords="216,353,272,320,269,314,268,310,268,305,267,303,203,302,203,314,205,324,207,333,210,341,213,348" alt="space3-7" />
<area class="space" id="space3-8" shape="poly" coords="202,303,267,303,268,296,269,292,271,288,271,285,216,253,210,263,207,273,204,281,203,290,202,297" alt="space3-8" />
<area class="space" id="space3-9" shape="poly" coords="215,253,271,285,275,280,278,277,282,274,284,272,252,216,242,222,234,229,228,235,222,242,218,248" alt="space3-9" />
<area class="space" id="space3-10" shape="poly" coords="251,216,284,272,290,269,294,268,299,268,301,267,302,203,290,203,280,205,271,207,263,210,256,213" alt="space3-10" />
<area class="space" id="space3-11" shape="poly" coords="301,202,301,267,308,268,312,269,316,271,319,271,351,216,341,210,331,207,323,204,314,203,307,202" alt="space3-11" />
<area class="space" id="space4-0" shape="circle" coords="302,303,34" alt="space4-0" nohref="nohref" />
</map>
</div>
<div id="left_side">
<div id="history">
</div>
</div>
<div id="board" class="board board-position">
</div>
<div id="side_area">
<div id="settings_overlay">
<div id="settings" class="setting_button"></div>
<div id="volume_control" class="toggle_sound setting_button volume_control_on"></div>
<div id="history_control" class="setting_button toggle_history_log"></div>
</div>
<div id="dashboard" class="overlay_flash">
</div>
<div id="actions">
<div id="kill" class="action">
<div class="action_img"></div>
</div>
<div id="interrogate" class="action">
<div class="action_img"></div>
</div>
<div id="grow" class="action">
<div class="action_img"></div>
</div>
<div id="end_turn" class="action">
<div class="action_img"></div>
</div>
</div>
<div id="chat">
<div id="chat_messages">
</div>
<input type="text" id="chat_input" placeholder="Send a message here..."/>
</div>
</div>
<div id="logo" class="leftslot0"></div>
<div id="killed_insurgents" class="leftslot1 status_count">
<span id="count">0</span>
</div>
<div id="reserve_insurgents" class="leftslot2 status_count">
<span id="count">10</span>
</div>
</div>
</body>
</html>