blob: 4f8d30809d4c6cccdde1723cd01943c8be4daab9 (
plain) (
blame)
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
|
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" type="text/css" href="style.css">
<title>Draughts</title>
</head>
<body>
<div class="container left">
<!-- The draughts board is represented using a table, the outer table allows us to have the
fancy spaced-out table border. -->
<table id="outer-board">
<td>
<table id="board">
<!-- Each row has squares which are either black or white, and only
black cells have IDs since a piece cannot land on a white cell.
-->
<tr>
<td id="1"></td>
<td></td>
<td id="2"></td>
<td></td>
<td id="3"></td>
<td></td>
<td id="4"></td>
<td></td>
<td id="5"></td>
<td></td>
</tr>
<tr>
<td id="6"></td>
<td></td>
<td id="7"></td>
<td></td>
<td id="8"></td>
<td></td>
<td id="9"></td>
<td></td>
<td id="10"></td>
<td></td>
</tr>
<tr>
<td id="11"></td>
<td></td>
<td id="12"></td>
<td></td>
<td id="13"></td>
<td></td>
<td id="14"></td>
<td></td>
<td id="15"></td>
<td></td>
</tr>
<tr>
<td id="16"></td>
<td></td>
<td id="17"></td>
<td></td>
<td id="18"></td>
<td></td>
<td id="19"></td>
<td></td>
<td id="20"></td>
<td></td>
</tr>
<tr>
<td id="21"></td>
<td></td>
<td id="22"></td>
<td></td>
<td id="23"></td>
<td></td>
<td id="24"></td>
<td></td>
<td id="25"></td>
<td></td>
</tr>
<tr>
<td id="26"></td>
<td></td>
<td id="27"></td>
<td></td>
<td id="28"></td>
<td></td>
<td id="29"></td>
<td></td>
<td id="30"></td>
<td></td>
</tr>
<tr>
<td id="31"></td>
<td></td>
<td id="32"></td>
<td></td>
<td id="33"></td>
<td></td>
<td id="34"></td>
<td></td>
<td id="35"></td>
<td></td>
</tr>
<tr>
<td id="36"></td>
<td></td>
<td id="37"></td>
<td></td>
<td id="38"></td>
<td></td>
<td id="39"></td>
<td></td>
<td id="40"></td>
<td></td>
</tr>
<tr>
<td id="41"></td>
<td></td>
<td id="42"></td>
<td></td>
<td id="43"></td>
<td></td>
<td id="44"></td>
<td></td>
<td id="45"></td>
<td></td>
</tr>
<tr>
<td id="46"></td>
<td></td>
<td id="47"></td>
<td></td>
<td id="48"></td>
<td></td>
<td id="49"></td>
<td></td>
<td id="50"></td>
<td></td>
</tr>
</table>
</td>
</table>
</div>
<div class="container right">
<h1 id="history-title">Move History</h1>
<!-- The game/move history table is made up of 8 rows where the first column of each
row is the number of moves ago it was, the second column is blues move, and the
third is reds move. -->
<table id="history">
<tr>
<td class="turn-no">8</td>
<td>37-32</td>
<td>22-28</td>
</tr>
<tr>
<td class="turn-no">7</td>
<td></td>
<td></td>
</tr>
<tr>
<td class="turn-no">6</td>
<td></td>
<td></td>
</tr>
<tr>
<td class="turn-no">5</td>
<td></td>
<td></td>
</tr>
<tr>
<td class="turn-no">4</td>
<td></td>
<td></td>
</tr>
<tr>
<td class="turn-no">3</td>
<td></td>
<td></td>
</tr>
<tr>
<td class="turn-no">2</td>
<td></td>
<td></td>
</tr>
<tr>
<td class="turn-no">1</td>
<td></td>
<td></td>
</tr>
</table>
<div id="resign">
<p>Resign</p>
</div>
</div>
<div id="vertical-rule"></div>
</body>
</html>
|