-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplay.html
72 lines (69 loc) · 1.56 KB
/
play.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
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Arx Chess</title>
<script type="module" src="/src/main.ts"></script>
<link rel="stylesheet" href="play.css" />
<link rel="icon" href="bishop-knight-white.png">
</head>
<body>
<table id="board"></table>
<div id="white">
<div class="name">White</div>
<div>
Pieces: <span class="pieces">1</span>/<span class="max-pieces">2</span>
</div>
<div>
Gold: <span class="gold">0</span>
</div>
<div class="player-buttons">
<button class="skip-turn">
Skip turn
</button>
<button class="forfeit">
Forfeit
</button>
</div>
</div>
<div id="black">
<div class="name">Black</div>
<div>
Pieces: <span class="pieces">1</span>/<span class="max-pieces">2</span>
</div>
<div>
Gold: <span class="gold">0</span>
</div>
<div class="player-buttons">
<button class="skip-turn">
Skip turn
</button>
<button class="forfeit">
Forfeit
</button>
</div>
</div>
<dialog id="castle-menu">
<form method="dialog">
<button>close</button>
<span id="piece-limit-info">(piece limit!)</span>
</form>
<p>
Pieces to buy:
</p>
<ul id="pieces">
</ul>
<p>
Pieces to unlock next:
</p>
<ul id="locked-pieces">
</ul>
</dialog>
<dialog id="game-over">
<p>
</p>
<a href="/" class="button">Return to main menu</a>
</dialog>
</body>
</html>