├── .gitignore
├── LICENSE
├── README.md
├── audio
├── chime.mp3
├── chime.ogg
├── move.mp3
└── move.ogg
├── css
├── chat.css
├── main.css
└── thirdparty
│ ├── bootstrap-tour.min.css
│ ├── bootstrap.min.css
│ └── jquery.contextMenu.min.css
├── favicon.ico
├── fonts
├── helvetiker_regular.typeface.js
└── helvetiker_regular.typeface.json
├── images
├── board
│ ├── black_blue-velvet.png
│ ├── black_red-ornate.png
│ ├── black_sand-velvet.png
│ ├── black_simple.png
│ ├── preview
│ │ ├── black_blue-velvet.png
│ │ ├── black_red-ornate.png
│ │ ├── black_sand-velvet.png
│ │ ├── black_simple.png
│ │ ├── white_ornate.png
│ │ ├── white_sand-velvet.png
│ │ ├── white_simple.png
│ │ └── white_white-velvet.png
│ ├── white_ornate.png
│ ├── white_sand-velvet.png
│ ├── white_simple.png
│ └── white_white-velvet.png
├── bus.svg
├── circle_any.svg
├── circle_black.svg
├── circle_white.svg
├── flag.svg
├── hand-i-offered.png
├── hand-other-offered.png
├── ic_account_box_black_24px.svg
├── ic_add_box_black_24px.svg
├── ic_content_copy_black_24px.svg
├── ic_create_black_24px.svg
├── ic_fast_forward_black_24px.svg
├── ic_fast_rewind_black_24px.svg
├── ic_file_download_black_24px.svg
├── ic_help_black_24px.svg
├── ic_keyboard_arrow_left_black_24px.svg
├── ic_keyboard_arrow_right_black_24px.svg
├── ic_menu_black_24px.svg
├── ic_play_circle_filled_black_24px.svg
├── ic_remove_red_eye_black_24px.svg
├── ic_screen_rotation_black_24px.svg
├── ic_settings_black_24px.svg
├── ic_volume_mute_black_24px.svg
├── ic_volume_up_black_24px.svg
├── ic_zoom_in_black_24px.svg
├── ic_zoom_out_black_24px.svg
├── irequestedundo.svg
├── offer-hand.png
├── otherrequestedundo.svg
├── pieces
│ ├── black_pietersite_caps.png
│ ├── black_pietersite_pieces.png
│ ├── black_simple_caps.png
│ ├── black_simple_pieces.png
│ ├── preview
│ │ ├── black_pietersite_pieces.png
│ │ ├── black_simple_pieces.png
│ │ ├── white_coral_pieces.png
│ │ └── white_simple_pieces.png
│ ├── white_coral_caps.png
│ ├── white_coral_pieces.png
│ ├── white_simple_caps.png
│ └── white_simple_pieces.png
├── player-black.png
├── player-white.png
└── requestundo.svg
├── index.html
├── js
├── board.js
├── chat.js
├── env.js
├── game.js
├── main.js
├── ptn.js
├── server.js
├── style_selector.js
├── thirdparty
│ ├── OrbitControls.min.js
│ ├── bootstrap-tour.min.js
│ ├── bootstrap.min.js
│ ├── jquery.contextMenu.min.js
│ ├── linkify-string.min.js
│ ├── linkify.min.js
│ └── three.min.js
└── tour.js
└── testing
└── TPSExamples.txt
/.gitignore:
--------------------------------------------------------------------------------
1 | .DS_Store
2 | *.swp
3 | *.patch
4 |
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | GNU GENERAL PUBLIC LICENSE
2 | Version 2, June 1991
3 |
4 | Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
4 | If you want to test your changes with TakServer running locally on your machine, you'll need websockify (https://github.com/novnc/websockify)
5 |
6 | NOTE: https://playtak.com is now being maintained by US Tak Association (https://ustak.org)
7 |
--------------------------------------------------------------------------------
/audio/chime.mp3:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/chaitu236/TakWeb/d594dbc6c3b39da8c9ee5c5b41bf9e7931f68608/audio/chime.mp3
--------------------------------------------------------------------------------
/audio/chime.ogg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/chaitu236/TakWeb/d594dbc6c3b39da8c9ee5c5b41bf9e7931f68608/audio/chime.ogg
--------------------------------------------------------------------------------
/audio/move.mp3:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/chaitu236/TakWeb/d594dbc6c3b39da8c9ee5c5b41bf9e7931f68608/audio/move.mp3
--------------------------------------------------------------------------------
/audio/move.ogg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/chaitu236/TakWeb/d594dbc6c3b39da8c9ee5c5b41bf9e7931f68608/audio/move.ogg
--------------------------------------------------------------------------------
/css/chat.css:
--------------------------------------------------------------------------------
1 | #chat-toggle-button{
2 | position: absolute;
3 | right: 185px;
4 | top: 62px;
5 | z-index: 10;
6 | }
7 |
8 | #chat {
9 | position: absolute;
10 | right: 5px;
11 | top: 60px;
12 | z-index: 10;
13 | width: 180px;
14 | height: 80%;
15 | }
16 |
17 | #chat > ul > li > a {
18 | white-space: nowrap;
19 | overflow: hidden;
20 | text-overflow: ellipsis;
21 | }
22 |
23 | #room_divs > div {
24 | padding: 3px;
25 | word-wrap: break-word;
26 | background-color: #e7e7e9;
27 | height:100%;
28 | overflow-y: auto;
29 | }
30 |
31 | .chatname {
32 | font-weight: bold;
33 | }
34 |
35 | .chatmyname {
36 | color: red;
37 | }
38 |
39 | .cmdreply {
40 | font-style: italic;
41 | color: blue;
42 | }
43 |
44 | .ircname {
45 | color: #8C6F65;
46 | }
47 |
48 | .chattime {
49 | color: #7D7D7D;
50 | text-align: center;
51 | }
52 |
53 | #chat-toggle-text {
54 | }
55 |
56 | #room_list > li {
57 | display: table;
58 | width: 100%;
59 | }
60 |
61 | #room_list > li > a {
62 | display: table-cell;
63 | white-space: nowrap;
64 | overflow: hidden;
65 | text-overflow: ellipsis;
66 | padding: 4px 0px 4px 12px;
67 | }
68 |
69 | #room_list > li > a > span > span:nth-child(2) {
70 | display: block;
71 | font-size: 12px;
72 | text-align: center;
73 | }
74 |
75 | #room_list > li > a > span > span:nth-child(3) {
76 | float: right;
77 | }
78 |
79 | #room_list > li > div {
80 | display: table-cell;
81 | text-align: center;
82 | width: 20px;
83 | padding: 4px 6px 4px 12px;
84 | font-size: 21px;
85 | opacity: .4;
86 | vertical-align: middle;
87 | }
88 |
--------------------------------------------------------------------------------
/css/main.css:
--------------------------------------------------------------------------------
1 | body {
2 | margin: 0px;
3 | padding: 0px;
4 | overflow: hidden;
5 | }
6 |
7 | #gamecanvas{
8 | display: block;
9 | position: absolute;
10 | left: 0px;
11 | top: 0px;
12 | }
13 |
14 | #floating {
15 | position: absolute;
16 | left: 5px;
17 | top: 20%;
18 | z-index: 10;
19 | }
20 |
21 | #watchgame-modal{
22 | overflow-x: auto;
23 | }
24 |
25 | .optlist a {
26 | margin-top: 2px;
27 | margin-bottom: 2px;
28 |
29 | margin-left: 10px;
30 | margin-right: 10px;
31 | padding: 0px;
32 | }
33 |
34 | .playername {
35 | font-weight: bold;
36 | }
37 |
38 | .bold {
39 | font-weight: bold;
40 | }
41 |
42 | .fullw {
43 | width: 100%;
44 | }
45 |
46 | .context-player {
47 | cursor: pointer;
48 | }
49 |
50 | #notation-toggle-text {
51 | position: absolute;
52 | right: -17px;
53 | top: 2px;
54 | }
55 |
56 | .toggle-text {
57 | border-radius: 2px;
58 | border: 2px solid #404040;
59 | border-radius: 5px;
60 | text-align: center;
61 | color: #c3c3c3;
62 | background-color: #404040;
63 | line-height: 12px;
64 | width: 19px;
65 | }
66 |
67 | #help-modal ul li ul {
68 | font-weight: bold;
69 | }
70 |
71 | #help-modal ul li ul li {
72 | font-weight: normal;
73 | }
74 |
75 | #settings-modal ul li ul {
76 | font-weight: bold;
77 | }
78 |
79 | #settings-modal ul li ul li {
80 | font-weight: normal;
81 | }
82 |
83 | .split-container-left {
84 | display: inline-block;
85 | overflow: hidden;
86 | width: 49%;
87 | padding-right: 15px;
88 | padding-bottom: 10px;
89 | vertical-align: top;
90 | }
91 |
92 | .split-container-right {
93 | display: inline-block;
94 | overflow: hidden;
95 | width: 49%;
96 | padding-left: 15px;
97 | padding-bottom: 10px;
98 | border-left: 1px solid #ddd;
99 | vertical-align: top;
100 | }
101 |
102 | input[type=checkbox] {
103 | vertical-align: middle;
104 | line-height: 14px;
105 | margin: 0px;
106 | }
107 |
108 | input[type=range] {
109 | vertical-align: middle;
110 | margin: 0px;
111 | display: inline-block;
112 | background: transparent;
113 | width: 50%;
114 | }
115 |
116 | input[type=range]::-moz-range-track {
117 | height: 4px;
118 | border-radius: 2px;
119 | box-shadow: 1px 1px 1px #ddd, 0px 0px 1px #fff;
120 | }
121 |
122 | input[type=range]::-ms-track {
123 | height: 4px;
124 | border-radius: 2px;
125 | box-shadow: 1px 1px 1px #ddd, 0px 0px 1px #fff;
126 | }
127 |
128 | input[type=range]::-webkit-slider-runnable-track {
129 | height: 4px;
130 | border-radius: 2px;
131 | box-shadow: 1px 1px 1px #ddd, 0px 0px 1px #fff;
132 | }
133 |
134 | .radio-list-item {
135 | display: inline-block;
136 | margin: 0;
137 | width: auto;
138 | }
139 |
140 | .radio-list-item input[type=radio] {
141 | display: none;
142 | }
143 |
144 | .radio-list-img {
145 | margin: 0;
146 | border: 2px #fff solid;
147 | cursor: pointer;
148 | }
149 |
150 | .radio-list-item input[type=radio]:checked + .radio-list-img {
151 | border: 2px #88d solid;
152 | }
153 |
154 | .width-full {
155 | margin: 0 auto;
156 | width: 100%;
157 | }
158 |
159 | .height-full {
160 | margin: 0 auto;
161 | height: 100%;
162 | }
163 |
164 | .height-auto {
165 | height: auto;
166 | }
167 |
168 | #status {
169 | position: absolute;
170 | bottom: 0px;
171 | right: 0px;
172 | z-index: 10;
173 | }
174 |
175 | #pindicator {
176 | position: absolute;
177 | top: 60px;
178 | left: 50%;
179 | transform: translate(-50%, 0);
180 | font-size: 200%;
181 | z-index: 10;
182 | }
183 |
184 | #zoomcontrols {
185 | position: absolute;
186 | bottom: 5px;
187 | left: 5px;
188 | z-index: 10;
189 | }
190 |
191 | #rmenu {
192 | border-style: solid;
193 | border-width: 2px;
194 | border-color: black;
195 | padding: 5px;
196 | margin: 2px;
197 | width: 200px;
198 | text-align: left;
199 | overflow: hidden;
200 | background-color: #e7e7e7;
201 | }
202 |
203 | #notationbar {
204 | border-top-style: solid;
205 | border-top-color: #888;
206 | border-top-width: 1px;
207 | border-bottom-style: solid;
208 | border-bottom-color: #888;
209 | border-bottom-width: 1px;
210 | background-color: #eee;
211 | height: 200px;
212 | overflow: auto;
213 | }
214 |
215 | #alertbox {
216 | position: absolute;
217 | bottom: 0px;
218 | width: 100%;
219 | z-index: 8;
220 | }
221 |
222 | .alerts {
223 | width: 60%;
224 | margin: auto;
225 | }
226 |
227 | .alert {
228 | margin: 0px;
229 | }
230 |
231 | #moveslist {
232 | display: table;
233 | width: 150px;
234 | }
235 |
236 | #moveslist a {
237 | color: inherit;
238 | text-decoration: none;
239 | }
240 |
241 | .center {
242 | text-align: center;
243 | }
244 |
245 | .left {
246 | text-align: left;
247 | }
248 |
249 | .right {
250 | text-align: right;
251 | }
252 |
253 | .vertical-text {
254 | transform-origin: bottom right;
255 | transform: rotate(-90deg);
256 | float: left;
257 | }
258 |
259 | .modal {
260 | text-align: center;
261 | }
262 |
263 | .modal:before {
264 | display: inline-block;
265 | vertical-align: middle;
266 | content: " ";
267 | height: 100%;
268 | }
269 |
270 | .modal-dialog {
271 | display: inline-block;
272 | text-align: left;
273 | vertical-align: middle;
274 | }
275 |
276 | /*#moveslist thead, #moveslist tbody{
277 | float: left;
278 | width: 100%;
279 | }
280 |
281 | #moveslist tbody {
282 | overflow: auto;
283 | height: 150px;
284 | }
285 |
286 | #moveslist tr {
287 | width: 100%;
288 | display: table;
289 | text-align: left;
290 | }
291 |
292 | #moveslist>tr>td {
293 | text-align: left;
294 | }
295 |
296 | #moveslist>tr>td:last-child {
297 | text-align: right;
298 | }*/
299 |
300 | .selected {
301 | background: red;
302 | }
303 |
304 | .unselected {
305 | background: grey;
306 | }
307 |
308 | .selectplayer {
309 | border-radius: 10px;
310 | background-color: #cccccc;
311 | }
312 |
313 | .white-player-color {
314 | color: #b3b3b3;
315 | }
316 |
317 | #player-opp, .player1-name {
318 | display: inline-block;
319 | color: #a3a3a3;
320 | padding: 2px;
321 | }
322 |
323 | #player-me, .player2-name {
324 | display: inline-block;
325 | color: black;
326 | padding: 2px;
327 | }
328 |
329 | .border {
330 | border-radius : 20px;
331 | padding: 5px;
332 | margin: 2px;
333 | border : 2px solid black;
334 | }
335 |
336 | #moveslist tbody tr td + td {
337 | display: inline-block;
338 | height: 100%;
339 | width: 40%;
340 | }
341 |
342 | #moveslist tbody tr td {
343 | display: inline-block;
344 | height: 100%;
345 | width: 20%;
346 | }
347 |
348 | #moveslist tbody tr td a {
349 | display: block;
350 | height: 100%;
351 | width: 100%;
352 | }
353 |
354 | #moveslist tbody tr td a span {
355 | display: block;
356 | height: 100%;
357 | width: 100%;
358 | }
359 |
360 | #moveslist tbody tr td a span:hover {
361 | background-color: #c3c3c3;
362 | }
363 |
364 | .curmove {
365 | background-color: #c3c3c3;
366 | }
367 |
368 | .scrollable-menu {
369 | height: auto;
370 | max-height: 280px;
371 | overflow-x: hidden;
372 | }
373 |
374 | .botlevel {
375 | display: inline-block;
376 | width: 0;
377 | height: 0;
378 | font-size: 12px;
379 | color: #666;
380 | position: relative;
381 | top: 15px;
382 | padding-bottom: 30px;
383 | }
384 |
385 | .table {
386 | margin-bottom: 0;
387 | }
388 |
389 | #player-me-time, #player-opp-time {
390 | font-size: x-large;
391 | color: black;
392 | }
393 |
394 | a .fa:not(#undo):not(#draw) {
395 | color: black;
396 | }
397 |
398 | #zoomcontrols .fa {
399 | margin: 2px;
400 | }
401 |
402 | .request-undo, .offer-draw {
403 | color: black;
404 | }
405 |
406 | .i-requested-undo, .i-offered-draw {
407 | color: red;
408 | }
409 |
410 | .opp-requested-undo, .opp-offered-draw {
411 | color: blue;
412 | }
413 |
--------------------------------------------------------------------------------
/css/thirdparty/bootstrap-tour.min.css:
--------------------------------------------------------------------------------
1 | /* ========================================================================
2 | * bootstrap-tour - v0.10.1
3 | * http://bootstraptour.com
4 | * ========================================================================
5 | * Copyright 2012-2013 Ulrich Sossou
6 | *
7 | * ========================================================================
8 | * Licensed under the Apache License, Version 2.0 (the "License");
9 | * you may not use this file except in compliance with the License.
10 | * You may obtain a copy of the License at
11 | *
12 | * http://www.apache.org/licenses/LICENSE-2.0
13 | *
14 | * Unless required by applicable law or agreed to in writing, software
15 | * distributed under the License is distributed on an "AS IS" BASIS,
16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 | * See the License for the specific language governing permissions and
18 | * limitations under the License.
19 | * ========================================================================
20 | */
21 |
22 | .tour-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1100;background-color:#000;opacity:.8;filter:alpha(opacity=80)}.tour-step-backdrop{position:relative;z-index:1101;background:inherit}.tour-step-backdrop>td{position:relative;z-index:1101}.tour-step-background{position:absolute!important;z-index:1100;background:inherit;border-radius:6px}.popover[class*=tour-]{z-index:1100}.popover[class*=tour-] .popover-navigation{padding:9px 14px}.popover[class*=tour-] .popover-navigation [data-role=end]{float:right}.popover[class*=tour-] .popover-navigation [data-role=prev],.popover[class*=tour-] .popover-navigation [data-role=next],.popover[class*=tour-] .popover-navigation [data-role=end]{cursor:pointer}.popover[class*=tour-] .popover-navigation [data-role=prev].disabled,.popover[class*=tour-] .popover-navigation [data-role=next].disabled,.popover[class*=tour-] .popover-navigation [data-role=end].disabled{cursor:default}.popover[class*=tour-].orphan{position:fixed;margin-top:0}.popover[class*=tour-].orphan .arrow{display:none}
--------------------------------------------------------------------------------
/css/thirdparty/jquery.contextMenu.min.css:
--------------------------------------------------------------------------------
1 | @charset "UTF-8";/*!
2 | * jQuery contextMenu - Plugin for simple contextMenu handling
3 | *
4 | * Version: v2.2.4-dev
5 | *
6 | * Authors: Björn Brala (SWIS.nl), Rodney Rehm, Addy Osmani (patches for FF)
7 | * Web: http://swisnl.github.io/jQuery-contextMenu/
8 | *
9 | * Copyright (c) 2011-2016 SWIS BV and contributors
10 | *
11 | * Licensed under
12 | * MIT License http://www.opensource.org/licenses/mit-license
13 | *
14 | * Date: 2016-07-17T19:45:35.350Z
15 | */.context-menu-icon.context-menu-icon--fa::before,.context-menu-icon::before{left:0;width:2em;font-size:1em;font-style:normal;font-weight:400;line-height:1;text-align:center;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);-o-transform:translateY(-50%);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;position:absolute;top:50%}@font-face{font-family:context-menu-icons;font-style:normal;font-weight:400;src:url(font/context-menu-icons.eot?14l1a);src:url(font/context-menu-icons.eot?14l1a#iefix) format("embedded-opentype"),url(font/context-menu-icons.woff2?14l1a) format("woff2"),url(font/context-menu-icons.woff?14l1a) format("woff"),url(font/context-menu-icons.ttf?14l1a) format("truetype")}.context-menu-icon-add:before{content:"\EA01"}.context-menu-icon-copy:before{content:"\EA02"}.context-menu-icon-cut:before{content:"\EA03"}.context-menu-icon-delete:before{content:"\EA04"}.context-menu-icon-edit:before{content:"\EA05"}.context-menu-icon-paste:before{content:"\EA06"}.context-menu-icon-quit:before{content:"\EA07"}.context-menu-icon::before{font-family:context-menu-icons;color:#2980b9;transform:translateY(-50%)}.context-menu-icon.context-menu-hover:before{color:#fff}.context-menu-icon.context-menu-disabled::before{color:#bbb}.context-menu-icon.context-menu-icon--fa{display:list-item}.context-menu-icon.context-menu-icon--fa::before{font-family:FontAwesome;color:#2980b9;transform:translateY(-50%)}.context-menu-icon.context-menu-icon--fa.context-menu-hover:before{color:#fff}.context-menu-icon.context-menu-icon--fa.context-menu-disabled::before{color:#bbb}.context-menu-list{position:absolute;display:inline-block;min-width:13em;max-width:26em;padding:.25em 0;margin:.3em;font-family:inherit;font-size:inherit;list-style-type:none;background:#fff;border:1px solid #bebebe;border-radius:.2em;-webkit-box-shadow:0 2px 5px rgba(0,0,0,.5);box-shadow:0 2px 5px rgba(0,0,0,.5)}.context-menu-item{position:relative;padding:.2em 2em;color:#2f2f2f;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-color:#fff}.context-menu-separator{padding:0;margin:.35em 0;border-bottom:1px solid #e6e6e6}.context-menu-item>label>input,.context-menu-item>label>textarea{-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}.context-menu-item.context-menu-hover{color:#fff;cursor:pointer;background-color:#2980b9}.context-menu-item.context-menu-disabled{color:#bbb;cursor:default;background-color:#fff}.context-menu-input.context-menu-hover{cursor:default}.context-menu-submenu:after{position:absolute;top:50%;right:.5em;z-index:1;width:0;height:0;content:'';border-color:transparent transparent transparent #2f2f2f;border-style:solid;border-width:.25em 0 .25em .25em;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);-o-transform:translateY(-50%);transform:translateY(-50%)}.context-menu-item.context-menu-input{padding:.3em .6em}.context-menu-input>label>*{vertical-align:top}.context-menu-input>label>input[type=checkbox],.context-menu-input>label>input[type=radio]{position:relative;top:.12em;margin-right:.4em}.context-menu-input>label{margin:0}.context-menu-input>label,.context-menu-input>label>input[type=text],.context-menu-input>label>select,.context-menu-input>label>textarea{display:block;width:100%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.context-menu-input>label>textarea{height:7em}.context-menu-item>.context-menu-list{top:.3em;right:-.3em;display:none}.context-menu-item.context-menu-visible>.context-menu-list{display:block}.context-menu-accesskey{text-decoration:underline}
16 | /*# sourceMappingURL=jquery.contextMenu.min.css.map */
17 |
--------------------------------------------------------------------------------
/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/chaitu236/TakWeb/d594dbc6c3b39da8c9ee5c5b41bf9e7931f68608/favicon.ico
--------------------------------------------------------------------------------
/images/board/black_blue-velvet.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/chaitu236/TakWeb/d594dbc6c3b39da8c9ee5c5b41bf9e7931f68608/images/board/black_blue-velvet.png
--------------------------------------------------------------------------------
/images/board/black_red-ornate.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/chaitu236/TakWeb/d594dbc6c3b39da8c9ee5c5b41bf9e7931f68608/images/board/black_red-ornate.png
--------------------------------------------------------------------------------
/images/board/black_sand-velvet.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/chaitu236/TakWeb/d594dbc6c3b39da8c9ee5c5b41bf9e7931f68608/images/board/black_sand-velvet.png
--------------------------------------------------------------------------------
/images/board/black_simple.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/chaitu236/TakWeb/d594dbc6c3b39da8c9ee5c5b41bf9e7931f68608/images/board/black_simple.png
--------------------------------------------------------------------------------
/images/board/preview/black_blue-velvet.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/chaitu236/TakWeb/d594dbc6c3b39da8c9ee5c5b41bf9e7931f68608/images/board/preview/black_blue-velvet.png
--------------------------------------------------------------------------------
/images/board/preview/black_red-ornate.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/chaitu236/TakWeb/d594dbc6c3b39da8c9ee5c5b41bf9e7931f68608/images/board/preview/black_red-ornate.png
--------------------------------------------------------------------------------
/images/board/preview/black_sand-velvet.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/chaitu236/TakWeb/d594dbc6c3b39da8c9ee5c5b41bf9e7931f68608/images/board/preview/black_sand-velvet.png
--------------------------------------------------------------------------------
/images/board/preview/black_simple.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/chaitu236/TakWeb/d594dbc6c3b39da8c9ee5c5b41bf9e7931f68608/images/board/preview/black_simple.png
--------------------------------------------------------------------------------
/images/board/preview/white_ornate.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/chaitu236/TakWeb/d594dbc6c3b39da8c9ee5c5b41bf9e7931f68608/images/board/preview/white_ornate.png
--------------------------------------------------------------------------------
/images/board/preview/white_sand-velvet.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/chaitu236/TakWeb/d594dbc6c3b39da8c9ee5c5b41bf9e7931f68608/images/board/preview/white_sand-velvet.png
--------------------------------------------------------------------------------
/images/board/preview/white_simple.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/chaitu236/TakWeb/d594dbc6c3b39da8c9ee5c5b41bf9e7931f68608/images/board/preview/white_simple.png
--------------------------------------------------------------------------------
/images/board/preview/white_white-velvet.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/chaitu236/TakWeb/d594dbc6c3b39da8c9ee5c5b41bf9e7931f68608/images/board/preview/white_white-velvet.png
--------------------------------------------------------------------------------
/images/board/white_ornate.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/chaitu236/TakWeb/d594dbc6c3b39da8c9ee5c5b41bf9e7931f68608/images/board/white_ornate.png
--------------------------------------------------------------------------------
/images/board/white_sand-velvet.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/chaitu236/TakWeb/d594dbc6c3b39da8c9ee5c5b41bf9e7931f68608/images/board/white_sand-velvet.png
--------------------------------------------------------------------------------
/images/board/white_simple.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/chaitu236/TakWeb/d594dbc6c3b39da8c9ee5c5b41bf9e7931f68608/images/board/white_simple.png
--------------------------------------------------------------------------------
/images/board/white_white-velvet.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/chaitu236/TakWeb/d594dbc6c3b39da8c9ee5c5b41bf9e7931f68608/images/board/white_white-velvet.png
--------------------------------------------------------------------------------
/images/bus.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
28 |
--------------------------------------------------------------------------------
/images/circle_any.svg:
--------------------------------------------------------------------------------
1 |
8 |
--------------------------------------------------------------------------------
/images/circle_black.svg:
--------------------------------------------------------------------------------
1 |
4 |
--------------------------------------------------------------------------------
/images/circle_white.svg:
--------------------------------------------------------------------------------
1 |
4 |
--------------------------------------------------------------------------------
/images/flag.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
17 |
--------------------------------------------------------------------------------
/images/hand-i-offered.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/chaitu236/TakWeb/d594dbc6c3b39da8c9ee5c5b41bf9e7931f68608/images/hand-i-offered.png
--------------------------------------------------------------------------------
/images/hand-other-offered.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/chaitu236/TakWeb/d594dbc6c3b39da8c9ee5c5b41bf9e7931f68608/images/hand-other-offered.png
--------------------------------------------------------------------------------
/images/ic_account_box_black_24px.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/images/ic_add_box_black_24px.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/images/ic_content_copy_black_24px.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/images/ic_create_black_24px.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/images/ic_fast_forward_black_24px.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/images/ic_fast_rewind_black_24px.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/images/ic_file_download_black_24px.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/images/ic_help_black_24px.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/images/ic_keyboard_arrow_left_black_24px.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/images/ic_keyboard_arrow_right_black_24px.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/images/ic_menu_black_24px.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/images/ic_play_circle_filled_black_24px.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/images/ic_remove_red_eye_black_24px.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/images/ic_screen_rotation_black_24px.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/images/ic_settings_black_24px.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/images/ic_volume_mute_black_24px.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/images/ic_volume_up_black_24px.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/images/ic_zoom_in_black_24px.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/images/ic_zoom_out_black_24px.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/images/irequestedundo.svg:
--------------------------------------------------------------------------------
1 |
5 |
--------------------------------------------------------------------------------
/images/offer-hand.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/chaitu236/TakWeb/d594dbc6c3b39da8c9ee5c5b41bf9e7931f68608/images/offer-hand.png
--------------------------------------------------------------------------------
/images/otherrequestedundo.svg:
--------------------------------------------------------------------------------
1 |
5 |
--------------------------------------------------------------------------------
/images/pieces/black_pietersite_caps.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/chaitu236/TakWeb/d594dbc6c3b39da8c9ee5c5b41bf9e7931f68608/images/pieces/black_pietersite_caps.png
--------------------------------------------------------------------------------
/images/pieces/black_pietersite_pieces.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/chaitu236/TakWeb/d594dbc6c3b39da8c9ee5c5b41bf9e7931f68608/images/pieces/black_pietersite_pieces.png
--------------------------------------------------------------------------------
/images/pieces/black_simple_caps.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/chaitu236/TakWeb/d594dbc6c3b39da8c9ee5c5b41bf9e7931f68608/images/pieces/black_simple_caps.png
--------------------------------------------------------------------------------
/images/pieces/black_simple_pieces.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/chaitu236/TakWeb/d594dbc6c3b39da8c9ee5c5b41bf9e7931f68608/images/pieces/black_simple_pieces.png
--------------------------------------------------------------------------------
/images/pieces/preview/black_pietersite_pieces.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/chaitu236/TakWeb/d594dbc6c3b39da8c9ee5c5b41bf9e7931f68608/images/pieces/preview/black_pietersite_pieces.png
--------------------------------------------------------------------------------
/images/pieces/preview/black_simple_pieces.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/chaitu236/TakWeb/d594dbc6c3b39da8c9ee5c5b41bf9e7931f68608/images/pieces/preview/black_simple_pieces.png
--------------------------------------------------------------------------------
/images/pieces/preview/white_coral_pieces.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/chaitu236/TakWeb/d594dbc6c3b39da8c9ee5c5b41bf9e7931f68608/images/pieces/preview/white_coral_pieces.png
--------------------------------------------------------------------------------
/images/pieces/preview/white_simple_pieces.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/chaitu236/TakWeb/d594dbc6c3b39da8c9ee5c5b41bf9e7931f68608/images/pieces/preview/white_simple_pieces.png
--------------------------------------------------------------------------------
/images/pieces/white_coral_caps.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/chaitu236/TakWeb/d594dbc6c3b39da8c9ee5c5b41bf9e7931f68608/images/pieces/white_coral_caps.png
--------------------------------------------------------------------------------
/images/pieces/white_coral_pieces.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/chaitu236/TakWeb/d594dbc6c3b39da8c9ee5c5b41bf9e7931f68608/images/pieces/white_coral_pieces.png
--------------------------------------------------------------------------------
/images/pieces/white_simple_caps.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/chaitu236/TakWeb/d594dbc6c3b39da8c9ee5c5b41bf9e7931f68608/images/pieces/white_simple_caps.png
--------------------------------------------------------------------------------
/images/pieces/white_simple_pieces.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/chaitu236/TakWeb/d594dbc6c3b39da8c9ee5c5b41bf9e7931f68608/images/pieces/white_simple_pieces.png
--------------------------------------------------------------------------------
/images/player-black.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/chaitu236/TakWeb/d594dbc6c3b39da8c9ee5c5b41bf9e7931f68608/images/player-black.png
--------------------------------------------------------------------------------
/images/player-white.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/chaitu236/TakWeb/d594dbc6c3b39da8c9ee5c5b41bf9e7931f68608/images/player-white.png
--------------------------------------------------------------------------------
/images/requestundo.svg:
--------------------------------------------------------------------------------
1 |
5 |
--------------------------------------------------------------------------------
/js/chat.js:
--------------------------------------------------------------------------------
1 | var chathandler = {
2 | lastChatTime: '',
3 | chat_width: 180,
4 | cur_room: 'global',
5 |
6 | init: function() {
7 | $('#chat').offset({ top: $('nav').height() + 5 });
8 | $('#chat').height(window.innerHeight - $('nav').height() - 118);
9 | $('#chat-toggle-button').offset({ top: $('nav').height() + 7 });
10 |
11 | $('#room-div-global').append(' Privacy Policy
');
12 | },
13 | /*
14 | * Callback from server
15 | */
16 | received: function (type, roomName, name, txt) {
17 | console.log('received', type, roomName, name, txt);
18 | var clsname = 'chatname context-player';
19 |
20 | if (name === 'IRC') {
21 | name = txt.split('<')[1].split('>')[0];
22 | txt = txt.split('<' + name + '>')[1];
23 | clsname = clsname + ' ircname';
24 | }
25 |
26 | if (type === 'priv') {
27 | //Create room if doesn't exist and switch to it
28 | if (!this.roomExists('priv', roomName)) {
29 | chathandler.createPrivateRoom(roomName);
30 | chathandler.setRoom('priv', roomName);
31 | }
32 | }
33 | var room = type + '-' + roomName;
34 | if (type == 'global')
35 | room = 'global';
36 |
37 | var $cs = $('#room-div-' + room);
38 |
39 | var now = new Date();
40 | var hours = now.getHours();
41 | var mins = now.getMinutes();
42 | var cls = 'chattime';
43 | var timenow = getZero(hours) + ':' + getZero(mins);
44 |
45 | if (localStorage.getItem('hide-chat-time') === 'true') {
46 | cls = cls + ' hidden';
47 | }
48 |
49 | if (timenow !== this.lastChatTime) {
50 | $cs.append('