summaryrefslogtreecommitdiff
path: root/play.html
blob: bbb686417f7837f01f06c01ca37164a4d2ba72f0 (plain)
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta name="viewport" content="width=device-width, height=device-height, user-scalable=no, interactive-widget=resizes-content, viewport-fit=cover">
<meta name="theme-color" content="hsl(34, 20%, 35%)">
<meta charset="utf-8">
<title>JULIUS CAESAR</title>
<link rel="icon" href="Vexilloid_of_the_Roman_Empire.svg">
<link rel="stylesheet" href="/fonts/fonts.css">
<link rel="stylesheet" href="/common/client.css">
<link rel="stylesheet" href="/common/columbia.css">
<link rel="stylesheet" href="play.css">
<script defer src="/common/client.js"></script>
<script defer src="data.js"></script>
<script defer src="play.js"></script>
</head>
<body>

<header>
	<div id="toolbar">
		<details>
			<summary><img src="/images/cog.svg"></summary>
			<menu>
				<li onclick="set_columbia_labels()">Columbia labels
				<li onclick="set_simple_labels()">Simple labels
				<li class="separator">
				<li onclick="set_spread_layout()">Spread blocks
				<li onclick="set_stack_layout()">Stack blocks</li>
				<li class="separator">
				<li><a href="info/notes.html" target="_blank">Notes</a>
				<li><a href="info/rules.html" target="_blank">Rules</a>
				<li><a href="info/cards.html" target="_blank">Cards</a>
				<li><a href="info/blocks.html" target="_blank">Blocks</a>
			</menu>
		</details>
		<button onclick="toggle_blocks()"><img src="/images/earth-africa-europe.svg"></button>
	</div>
</header>

<aside>
	<div id="roles">
		<div class="role" id="role_Caesar">
			<div class="role_name"><span>Caesar</span></div>
			<div class="role_stat" id="caesar_vp">VP</div>
			<div class="role_user">-</div>
			<div class="role_info"><div class="show card card_back" id="caesar_card"></div></div>
		</div>
		<div class="role" id="role_Pompeius">
			<div class="role_name"><span>Pompeius</span></div>
			<div class="role_stat" id="pompeius_vp">VP</div>
			<div class="role_user">-</div>
			<div class="role_info"><div class="show card card_back" id="pompeius_card"></div></div>
		</div>
		<div id="turn_info">-</div>
	</div>
	<div id="log"></div>
</aside>

<main data-min-zoom="1" data-max-zoom="2">
	<div id="mapwrap">
		<div id="map">

			<details id="battle">
				<summary id="battle_header"></summary>
				<div id="ER"></div>
				<div id="EF"></div>
				<div id="FF"></div>
				<div id="FR"></div>
				<div id="battle_message"></div>
			</details>

			<div id="offmap" style="visibility:hidden"></div>
			<div id="roads"></div>
			<div id="blocks"></div>
			<div id="spaces"></div>
			<div id="turn" class="year_705"></div>
		</div>
	</div>

	<div id="cards" class="hand">
		<div id="card+1" class="card card_apollo" onclick="select_card(1)"></div>
		<div id="card+2" class="card card_jupiter" onclick="select_card(2)"></div>
		<div id="card+3" class="card card_mars" onclick="select_card(3)"></div>
		<div id="card+4" class="card card_mercury" onclick="select_card(4)"></div>
		<div id="card+5" class="card card_neptune" onclick="select_card(5)"></div>
		<div id="card+6" class="card card_pluto" onclick="select_card(6)"></div>
		<div id="card+7" class="card card_vulcan" onclick="select_card(7)"></div>
		<div id="card+8" class="card card_41" onclick="select_card(8)"></div>
		<div id="card+9" class="card card_32" onclick="select_card(9)"></div>
		<div id="card+10" class="card card_32" onclick="select_card(10)"></div>
		<div id="card+11" class="card card_31" onclick="select_card(11)"></div>
		<div id="card+12" class="card card_31" onclick="select_card(12)"></div>
		<div id="card+13" class="card card_31" onclick="select_card(13)"></div>
		<div id="card+14" class="card card_23" onclick="select_card(14)"></div>
		<div id="card+15" class="card card_23" onclick="select_card(15)"></div>
		<div id="card+16" class="card card_23" onclick="select_card(16)"></div>
		<div id="card+17" class="card card_23" onclick="select_card(17)"></div>
		<div id="card+18" class="card card_22" onclick="select_card(18)"></div>
		<div id="card+19" class="card card_22" onclick="select_card(19)"></div>
		<div id="card+20" class="card card_22" onclick="select_card(20)"></div>
		<div id="card+21" class="card card_22" onclick="select_card(21)"></div>
		<div id="card+22" class="card card_21" onclick="select_card(22)"></div>
		<div id="card+23" class="card card_21" onclick="select_card(23)"></div>
		<div id="card+24" class="card card_21" onclick="select_card(24)"></div>
		<div id="card+25" class="card card_13" onclick="select_card(25)"></div>
		<div id="card+26" class="card card_12" onclick="select_card(26)"></div>
		<div id="card+27" class="card card_12" onclick="select_card(27)"></div>
		<div id="back+1" class="card card_back"></div>
		<div id="back+2" class="card card_back"></div>
		<div id="back+3" class="card card_back"></div>
		<div id="back+4" class="card card_back"></div>
		<div id="back+5" class="card card_back"></div>
		<div id="back+6" class="card card_back"></div>
	</div>

</main>

<footer id="status"></footer>

</body>