summaryrefslogtreecommitdiff
path: root/play.html
blob: c2fe1e75ff15f0e6f242050b9b615c1efa8fa396 (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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta name="viewport" content="width=device-width, height=device-height, initial-scale=1">
<meta charset="UTF-8">
<title>300: E&amp;W</title>
<link rel="icon" href="Achaemenid_Falcon.svg">
<link rel="stylesheet" href="/fonts/fonts.css">
<link rel="stylesheet" href="/common/play.css">
<link rel="stylesheet" href="play.css">
<script defer src="/common/play.js"></script>
<script defer src="play.js"></script>
</head>
<body>

<div id="tooltip" class="card"></div>

<div id="popup" onmouseleave="hide_popup_menu()">
	<div id="menu_card_event" onclick="on_card_event()">Play Event</div>
	<div id="menu_card_move" onclick="on_card_move()">Play for Movement</div>
</div>

<header>
	<div id="toolbar">
	<div class="menu">
		<div class="menu_title"><img src="/images/cog.svg"></div>
		<div class="menu_popup">
			<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>
			<div class="resign menu_separator"></div>
			<div class="resign menu_item" onclick="confirm_resign()">Resign</div>
		</div>
	</div>
	<div id="log_button" 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_Greece">
			<div class="role_name">Greece &#x2013; <span class="role_user"></span></div>
			<div class="role_info" id="greek_info">0 cards in hand</div>
		</div>
		<div class="role" id="role_Persia">
			<div class="role_name">Persia &#x2013; <span class="role_user"></span></div>
			<div class="role_info" id="persian_info">0 cards in hand</div>
		</div>
		<div class="card_info">
			<div id="discard" class="card show card_back"></div>
			<div id="deck_info"></div>
		</div>
	</div>
	<div id="log"></div>
</aside>

<main>
	<div id="map">

		<div id="campaign" class="marker campaign_1"></div>
		<div id="bridge" class="bridge"></div>
		<div id="vp" class="marker vp_0"></div>
		<div id="darius" class="persian_army"></div>
		<div id="xerxes" class="persian_army"></div>
		<div id="artemisia" class="persian_fleet"></div>
		<div id="miltiades" class="greek_army"></div>
		<div id="themistocles" class="greek_army"></div>
		<div id="leonidas" class="greek_army"></div>

		<div id="port_Abydos" class="port"></div>
		<div id="port_Ephesos" class="port"></div>
		<div id="port_Athenai" class="port"></div>
		<div id="port_Eretria" class="port"></div>
		<div id="port_Naxos" class="port"></div>
		<div id="port_Pella" class="port"></div>
		<div id="port_Sparta" class="port"></div>
		<div id="port_Thebai" class="port"></div>

		<div id="gf1" class="greek_fleet"></div>
		<div id="gf2" class="greek_fleet"></div>
		<div id="gf3" class="greek_fleet"></div>
		<div id="gf4" class="greek_fleet"></div>
		<div id="gf5" class="greek_fleet"></div>

		<div id="pf1" class="persian_fleet"></div>
		<div id="pf2" class="persian_fleet"></div>
		<div id="pf3" class="persian_fleet"></div>
		<div id="pf4" class="persian_fleet"></div>
		<div id="pf5" class="persian_fleet"></div>
		<div id="pf6" class="persian_fleet"></div>

		<div id="city_Abydos" class="persian_city"></div>
		<div id="city_Ephesos" class="persian_city"></div>
		<div id="city_Athenai" class="greek_city"></div>
		<div id="city_Delphi" class="greek_city"></div>
		<div id="city_Eretria" class="greek_city"></div>
		<div id="city_Korinthos" class="greek_city"></div>
		<div id="city_Larissa" class="greek_city"></div>
		<div id="city_Naxos" class="greek_city"></div>
		<div id="city_Pella" class="greek_city"></div>
		<div id="city_Sparta" class="greek_city"></div>
		<div id="city_Thebai" class="greek_city"></div>

		<div id="ga1" class="greek_army"></div>
		<div id="ga2" class="greek_army"></div>
		<div id="ga3" class="greek_army"></div>
		<div id="ga4" class="greek_army"></div>
		<div id="ga5" class="greek_army"></div>
		<div id="ga6" class="greek_army"></div>
		<div id="ga7" class="greek_army"></div>
		<div id="ga8" class="greek_army"></div>
		<div id="ga9" class="greek_army"></div>

		<div id="pa1" class="persian_army"></div>
		<div id="pa2" class="persian_army"></div>
		<div id="pa3" class="persian_army"></div>
		<div id="pa4" class="persian_army"></div>
		<div id="pa5" class="persian_army"></div>
		<div id="pa6" class="persian_army"></div>
		<div id="pa7" class="persian_army"></div>
		<div id="pa8" class="persian_army"></div>
		<div id="pa9" class="persian_army"></div>
		<div id="pa10" class="persian_army"></div>
		<div id="pa11" class="persian_army"></div>
		<div id="pa12" class="persian_army"></div>
		<div id="pa13" class="persian_army"></div>
		<div id="pa14" class="persian_army"></div>
		<div id="pa15" class="persian_army"></div>
		<div id="pa16" class="persian_army"></div>
		<div id="pa17" class="persian_army"></div>
		<div id="pa18" class="persian_army"></div>
		<div id="pa19" class="persian_army"></div>
		<div id="pa20" class="persian_army"></div>
		<div id="pa21" class="persian_army"></div>
		<div id="pa22" class="persian_army"></div>
		<div id="pa23" class="persian_army"></div>
		<div id="pa24" class="persian_army"></div>

	</div>

	<div id="hand" class="hand">
		<div id="card_1" class="card card_1"></div>
		<div id="card_2" class="card card_2"></div>
		<div id="card_3" class="card card_3"></div>
		<div id="card_4" class="card card_4"></div>
		<div id="card_5" class="card card_5"></div>
		<div id="card_6" class="card card_6"></div>
		<div id="card_7" class="card card_7"></div>
		<div id="card_8" class="card card_8"></div>
		<div id="card_9" class="card card_9"></div>
		<div id="card_10" class="card card_10"></div>
		<div id="card_11" class="card card_11"></div>
		<div id="card_12" class="card card_12"></div>
		<div id="card_13" class="card card_13"></div>
		<div id="card_14" class="card card_14"></div>
		<div id="card_15" class="card card_15"></div>
		<div id="card_16" class="card card_16"></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 id="back_7" class="card card_back"></div>
		<div id="back_8" class="card card_back"></div>
		<div id="back_9" class="card card_back"></div>
		<div id="back_10" class="card card_back"></div>
		<div id="back_11" class="card card_back"></div>
		<div id="back_12" class="card card_back"></div>
		<div id="back_13" class="card card_back"></div>
		<div id="back_14" class="card card_back"></div>
		<div id="back_15" class="card card_back"></div>
		<div id="back_16" class="card card_back"></div>
	</div>

</main>

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

</body>