-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
106 lines (106 loc) · 2.81 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
<!DOCTYPE html>
<html>
<head>
<title>Othello</title>
<link rel="icon" type="image/png" href="nearestneighbourscript.png" />
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<link rel="stylesheet" href="a.css">
</head>
<body bgcolor="#E6E6FA">
<table id="bored" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td id="A1"></td>
<td id="A2"></td>
<td id="A3"></td>
<td id="A4"></td>
<td id="A5"></td>
<td id="A6"></td>
<td id="A7"></td>
<td id="A8"></td>
</tr>
<tr>
<td id="B1"></td>
<td id="B2"></td>
<td id="B3"></td>
<td id="B4"></td>
<td id="B5"></td>
<td id="B6"></td>
<td id="B7"></td>
<td id="B8"></td>
</tr>
<tr>
<td id="C1"></td>
<td id="C2"></td>
<td id="C3"></td>
<td id="C4"></td>
<td data-history="[[3,4],[2,4]]" class="possible" id="C5"></td>
<td id="C6"></td>
<td id="C7"></td>
<td id="C8"></td>
</tr>
<tr>
<td id="D1"></td>
<td id="D2"></td>
<td id="D3"></td>
<td id="D4" class="one"></td>
<td id="D5" class="two"></td>
<td data-history="[[3,4],[3,5]]" class="possible" id="D6"></td>
<td id="D7"></td>
<td id="D8"></td>
</tr>
<tr>
<td id="E1"></td>
<td id="E2"></td>
<td data-history="[[4,3],[4,2]]" class="possible" id="E3"></td>
<td id="E4" class="two"></td>
<td id="E5" class="one"></td>
<td id="E6"></td>
<td id="E7"></td>
<td id="E8"></td>
</tr>
<tr>
<td id="F1"></td>
<td id="F2"></td>
<td id="F3"></td>
<td data-history="[[4,3],[5,3]]" class="possible" id="F4"></td>
<td id="F5"></td>
<td id="F6"></td>
<td id="F7"></td>
<td id="F8"></td>
</tr>
<tr>
<td id="G1"></td>
<td id="G2"></td>
<td id="G3"></td>
<td id="G4"></td>
<td id="G5"></td>
<td id="G6"></td>
<td id="G7"></td>
<td id="G8"></td>
</tr>
<tr>
<td id="H1"></td>
<td id="H2"></td>
<td id="H3"></td>
<td id="H4"></td>
<td id="H5"></td>
<td id="H6"></td>
<td id="H7"></td>
<td id="H8"></td>
</tr>
</tbody>
</table>
<label><input type="checkbox" id="visibleMoves" checked>Show possible moves</label>
<button id="local" type="button">New local game</button>
<button id="create" type="button">Join online game</button>
<button id="camera" class="hidden" type="button">Front camera</button>
<select id="opponents" class="hidden"></select>
<button id="join" class="hidden">Connect to this opponent</button>
<video id="u"></video>
<script src="https://skyway.io/dist/0.3/peer.min.js"></script>
<script src="https://rawgit.com/webrtc/adapter/master/adapter.js"></script>
<script src="a.js"></script>
</body>
</html>