summaryrefslogtreecommitdiff
path: root/play.html
blob: 46fc21c791a3606fb8c6e92aa2e4c1bbbf3b46e3 (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
121
122
123
124
125
126
127
128
129
130
<!DOCTYPE html>
<html lang="en">
<head>
<meta name="viewport" content="width=device-width, height=device-height, initial-scale=1">
<meta charset="UTF-8">
<title>CRUSADER REX</title>
<link rel="icon" href="Cross_of_the_Knights_Templar.svg">
<link rel="stylesheet" href="/fonts/fonts.css">
<link rel="stylesheet" href="/common/play.css">
<link rel="stylesheet" href="/common/columbia.css">
<link rel="stylesheet" href="play.css">
<script defer src="/common/play.js"></script>
<script defer src="data.js"></script>
<script defer src="play.js"></script>
</head>
<body>

<div id="battle">
<div id="battle_header"></div>
<div id="ER"></div>
<div id="EC"></div>
<div id="EF"></div>
<div id="FF"></div>
<div id="FC"></div>
<div id="FR"></div>
<div id="battle_message"></div>
</div>

<header>
	<div id="toolbar">
	<div class="menu">
		<div class="menu_title"><img src="/images/cog.svg"></div>
		<div class="menu_popup">
			<div class="menu_item" onclick="set_spread_layout()">Spread blocks</div>
			<div class="menu_item" onclick="set_stack_layout()">Stack blocks</div>
			<div class="menu_separator"></div>
			<a class="menu_item" href="info/notes.html" target="_blank">Notes</a>
			<a class="menu_item" href="info/rules.html" target="_blank">Rules</a>
			<a class="menu_item" href="info/cards.html" target="_blank">Cards</a>
			<a class="menu_item" href="info/blocks.html" target="_blank">Blocks</a>
			<div class="resign menu_separator"></div>
			<div class="resign menu_item" onclick="confirm_resign()">Resign</div>
		</div>
	</div>
	<div class="icon_button" onclick="toggle_blocks()"><img src="/images/earth-africa-europe.svg"></div>
	<div class="icon_button" onclick="toggle_zoom()"><img src="/images/magnifying-glass.svg"></div>
	<div class="icon_button" onclick="toggle_log()"><img src="/images/scroll-quill.svg"></div>
	</div>
	<div id="prompt"></div>
	<div id="actions"></div>
</header>

<aside>
	<div id="roles">
		<div class="role" id="role_Franks">
			<div class="role_name">
				Franks
				<div class="role_vp" id="frank_vp">VP</div>
				<div class="role_user">-</div>
			</div>
			<div class="role_info"><div class="show card card_back" id="frank_card"></div></div>
		</div>
		<div class="role" id="role_Saracens">
			<div class="role_name">
				Saracens
				<div class="role_vp" id="saracen_vp">VP</div>
				<div class="role_user">-</div>
			</div>
			<div class="role_info"><div class="show card card_back" id="saracen_card"></div></div>
		</div>
		<div id="turn_info">-</div>
	</div>
	<div id="log"></div>
</aside>

<main>

<div id="mapwrap">
<div id="map">
<svg id="svgmap" width="1275px" height="2475px" viewBox="0 0 1275 2475">
<path id="sea" d="M30 1201v1170l2-1c1 0 4-1 5-3 2-1 4-2 5-2 2 0 5-1 7-2 3-2 7-4 11-6 3-2 7-4 8-6 1-1 3-2 3-2 2 0 47-23 54-27 4-2 10-6 14-8 7-3 13-7 27-19 4-3 5-4 5-8l1-4h5c4 0 7-1 12-5 6-4 27-24 41-41 7-8 20-21 23-24 1-1 4-3 5-6l6-6c1-1 3-3 4-5 2-3 3-4 10-12 3-3 6-7 6-9 1-1 2-3 3-4 2-1 5-5 7-9 2-3 4-6 5-6 2 0 5-6 5-9 0-2 2-6 5-10s5-7 5-8 0-1 1-1 1-1 2-3c1-4 3-9 8-14 4-5 7-12 7-14 0-1 2-6 4-10 3-4 5-9 6-10 0-1 1-4 3-5 1-2 2-4 2-5 0 0 1-3 3-5 2-3 3-5 3-10 0-6 1-9 4-14 2-3 3-7 3-8 0-3 4-20 6-22 2-3 4-11 4-17 0-1 0-3 1-3 0 0 2-2 2-5 1-2 3-7 4-9 1-3 2-9 3-15 1-11 1-10 0-18 0-5 0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5-6-3-9s1-5-3-7c-3-1-4-4-2-5 1-1 1-2 1-3s1-3 3-4c2-2 3-3 3-5 0-1 0-4 2-6 2-3 3-5 1-8s0-5 5-8c5-2 9-6 9-8 0-4-20-18-30-22-8-3-10-6-10-12-1-6-1-7-6-13-2-3-4-6-4-8 0-1-2-5-6-9-7-9-8-11-7-15 0-3 0-3-3-4-1-1-6-2-11-2-11-2-10-2-27-9-4-2-8-3-11-3s-10-1-15-2c-5 0-10-1-11-1-7 0-15 2-19 4s-8 2-9-1c0-1 0-3 1-4 2-3 1-6-1-8-1-1-6-2-13-3-14-2-15-2-13-5 1-2 1-3 0-4s-2-1-6 1c-2 1-4 2-5 2 0-1 4-4 11-8 5-2 7-3 7-5 0-1 1-2 3-3 1 0 2-1 2-3s0-3 1-4c1 0 1-1 1-3s-1-3-4-5c-2-2-5-3-6-4-4-1-5-3-2-7 1-2 3-3 7-4 5-1 5-1 8-7 1-3 3-6 5-7 1-1 3-4 3-7 1-3 3-7 3-8 1-1 1-3 1-4-1-3-11-13-17-16-3-2-7-5-10-8-2-2-5-4-7-4-1 0-2-1-3-2s-2-2-4-3l-3-1 7-2c3 0 9-1 12-2 7-1 12-3 18-7 5-4 7-8 7-15 0-5 1-7 10-14 1-1 2-3 2-4 0-3 5-14 9-18s5-6 4-9c0-2 0-3 4-5 6-2 6-4-1-9-6-4-9-7-14-13-2-1-5-4-7-6-3-2-7-5-8-7-2-1-6-3-9-4-2-1-5-2-6-3-2-1-13-6-15-6s-11-4-11-5c-1-1-9-5-18-10-18-8-30-15-35-18-2-2-12-5-31-10-7-3-12-7-12-11 0-2 1-4 5-7 4-4 6-7 7-10l2-5 9-5c10-4 12-6 12-12s1-7 8-10c10-5 11-7 11-12-1-4-1-5 4-9 4-5 9-8 21-12 4-1 11-4 15-7 9-4 10-5 11-9 2-8 8-13 18-16 8-2 11-6 12-13v-5H30v1171z"/>
</svg>
<div id="blocks"></div>
<div id="offmap" style="visibility:hidden"></div>
<div id="towns"></div>
<div id="timeline" class="year_1187"></div>
</div>
</div>

<div class="hand">
<div id="card+1" class="card card_assassins"></div>
<div id="card+2" class="card card_guide"></div>
<div id="card+3" class="card card_intrigue"></div>
<div id="card+4" class="card card_jihad"></div>
<div id="card+5" class="card card_manna"></div>
<div id="card+6" class="card card_winter_campaign"></div>
<div id="card+7" class="card card_3"></div>
<div id="card+8" class="card card_3"></div>
<div id="card+9" class="card card_3"></div>
<div id="card+10" class="card card_3"></div>
<div id="card+11" class="card card_3"></div>
<div id="card+12" class="card card_3"></div>
<div id="card+13" class="card card_2"></div>
<div id="card+14" class="card card_2"></div>
<div id="card+15" class="card card_2"></div>
<div id="card+16" class="card card_2"></div>
<div id="card+17" class="card card_2"></div>
<div id="card+18" class="card card_2"></div>
<div id="card+19" class="card card_2"></div>
<div id="card+20" class="card card_2"></div>
<div id="card+21" class="card card_2"></div>
<div id="card+22" class="card card_1"></div>
<div id="card+23" class="card card_1"></div>
<div id="card+24" class="card card_1"></div>
<div id="card+25" class="card card_1"></div>
<div id="card+26" class="card card_1"></div>
<div id="card+27" class="card card_1"></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>