summaryrefslogtreecommitdiff
path: root/play.html
blob: 9a69f17c80b773ad065ddfa3da496fff242d212e (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
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
<!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="#444">
<meta charset="utf-8">
<title>WASHINGTON'S WAR</title>
<link rel="icon" href="favicon.png">
<link rel="stylesheet" href="/fonts/fonts.css">
<link rel="stylesheet" href="/common/client.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>
</script>
</head>
<body>

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

<menu id="popup">
	<li class="title">CARD
	<li class="separator">
	<li data-action="card_play_event">&#x1f3b4; Play Event
	<li data-action="card_discard_event">&#x274c; Discard for PC action
	<li data-action="card_campaign">&#x1f465; Play Campaign
	<li data-action="card_ops_general">&#x1f464; Activate a General
	<li data-action="card_ops_pc">&#x2b55; Place PC markers
	<li data-action="card_ops_reinforcements">&#x1f6a9; Bring on Reinforcements
	<li data-action="card_ops_queue">&#x231b; Place into Operations Queue
	<li data-action="card_battle_play">&#x1f3b2; Play for +2 DRM
	<li data-action="card_battle_discard">&#x1f3b2; Discard for +1 DRM
	<li data-action="exchange_for_discard">&#x267b; Exchange for Discarded Event
</menu>

<header>
	<div id="toolbar">
		<details>
			<summary><img src="/images/cog.svg"></summary>
			<menu>
				<li><a href="info/rulebook.html" target="blank">Rulebook</a>
				<li><a href="info/playbook.html" target="blank">Playbook</a>
				<li><a href="info/cards.html" target="blank">Cards</a>
			</menu>
		</details>
		<button onclick="toggle_markers()"><img src="/images/earth-america.svg"></button>
	</div>
</header>

<aside>
	<div id="roles">
		<div class="role" id="role_Britain">
			<div class="role_name">Britain</div>
			<div class="role_stat">VP</div>
			<div class="role_user">-</div>
			<div class="role_info"></div>
		</div>
		<div class="role" id="role_America">
			<div class="role_name">America</div>
			<div class="role_stat">VP</div>
			<div class="role_user">-</div>
			<div class="role_info"></div>
		</div>
	</div>
	<div id="turn_info"><div id="last_played" class="card show card_back"></div></div>
	<div id="log"></div>
</aside>

<main onclick="hide_popup_menu()">

<div id="mapwrap">
<div id="map">
	<div id="pc"></div>
	<div id="cu"></div>
	<div id="generals"></div>
	<div id="markers"></div>
	<div id="spaces"></div>
	<div id="war_ends"></div>
	<div id="played_british_reinforcements" class="reinforcements"></div>
	<div id="played_american_reinforcements_1" class="reinforcements"></div>
	<div id="played_american_reinforcements_2" class="reinforcements"></div>
</div>
</div>

<div class="hand">
<div id="card+1" class="card card_1"></div>
<div id="card+2" class="card card_1"></div>
<div id="card+3" class="card card_1"></div>
<div id="card+4" class="card card_1"></div>
<div id="card+5" class="card card_1"></div>
<div id="card+6" class="card card_1"></div>
<div id="card+7" class="card card_1"></div>
<div id="card+8" class="card card_1"></div>
<div id="card+9" class="card card_1"></div>
<div id="card+10" class="card card_1"></div>
<div id="card+11" class="card card_1"></div>
<div id="card+12" class="card card_1"></div>
<div id="card+13" class="card card_1"></div>
<div id="card+14" class="card card_1"></div>
<div id="card+15" class="card card_1"></div>
<div id="card+16" class="card card_1"></div>
<div id="card+17" class="card card_1"></div>
<div id="card+18" class="card card_1"></div>
<div id="card+19" class="card card_1"></div>
<div id="card+20" class="card card_1"></div>
<div id="card+21" class="card card_1"></div>
<div id="card+22" class="card card_1"></div>
<div id="card+23" class="card card_23"></div>
<div id="card+24" class="card card_23"></div>
<div id="card+25" class="card card_23"></div>
<div id="card+26" class="card card_23"></div>
<div id="card+27" class="card card_23"></div>
<div id="card+28" class="card card_23"></div>
<div id="card+29" class="card card_23"></div>
<div id="card+30" class="card card_23"></div>
<div id="card+31" class="card card_23"></div>
<div id="card+32" class="card card_23"></div>
<div id="card+33" class="card card_23"></div>
<div id="card+34" class="card card_23"></div>
<div id="card+35" class="card card_23"></div>
<div id="card+36" class="card card_23"></div>
<div id="card+37" class="card card_23"></div>
<div id="card+38" class="card card_23"></div>
<div id="card+39" class="card card_23"></div>
<div id="card+40" class="card card_23"></div>
<div id="card+41" class="card card_23"></div>
<div id="card+42" class="card card_23"></div>
<div id="card+43" class="card card_23"></div>
<div id="card+44" class="card card_23"></div>
<div id="card+45" class="card card_45"></div>
<div id="card+46" class="card card_45"></div>
<div id="card+47" class="card card_45"></div>
<div id="card+48" class="card card_45"></div>
<div id="card+49" class="card card_45"></div>
<div id="card+50" class="card card_45"></div>
<div id="card+51" class="card card_45"></div>
<div id="card+52" class="card card_45"></div>
<div id="card+53" class="card card_45"></div>
<div id="card+54" class="card card_45"></div>
<div id="card+55" class="card card_45"></div>
<div id="card+56" class="card card_45"></div>
<div id="card+57" class="card card_45"></div>
<div id="card+58" class="card card_45"></div>
<div id="card+59" class="card card_45"></div>
<div id="card+60" class="card card_45"></div>
<div id="card+61" class="card card_45"></div>
<div id="card+62" class="card card_45"></div>
<div id="card+63" class="card card_45"></div>
<div id="card+64" class="card card_45"></div>
<div id="card+65" class="card card_45"></div>
<div id="card+66" class="card card_45"></div>
<div id="card+67" class="card card_67"></div>
<div id="card+68" class="card card_68"></div>
<div id="card+69" class="card card_69"></div>
<div id="card+70" class="card card_70"></div>
<div id="card+71" class="card card_71"></div>
<div id="card+72" class="card card_72"></div>
<div id="card+73" class="card card_73"></div>
<div id="card+74" class="card card_74"></div>
<div id="card+75" class="card card_75"></div>
<div id="card+76" class="card card_76"></div>
<div id="card+77" class="card card_77"></div>
<div id="card+78" class="card card_78"></div>
<div id="card+79" class="card card_79"></div>
<div id="card+80" class="card card_80"></div>
<div id="card+81" class="card card_81"></div>
<div id="card+82" class="card card_82"></div>
<div id="card+83" class="card card_83"></div>
<div id="card+84" class="card card_84"></div>
<div id="card+85" class="card card_85"></div>
<div id="card+86" class="card card_86"></div>
<div id="card+87" class="card card_87"></div>
<div id="card+88" class="card card_88"></div>
<div id="card+89" class="card card_89"></div>
<div id="card+90" class="card card_90"></div>
<div id="card+91" class="card card_91"></div>
<div id="card+92" class="card card_92"></div>
<div id="card+93" class="card card_93"></div>
<div id="card+94" class="card card_94"></div>
<div id="card+95" class="card card_95"></div>
<div id="card+96" class="card card_96"></div>
<div id="card+97" class="card card_97"></div>
<div id="card+98" class="card card_98"></div>
<div id="card+99" class="card card_99"></div>
<div id="card+100" class="card card_100"></div>
<div id="card+101" class="card card_101"></div>
<div id="card+102" class="card card_102"></div>
<div id="card+103" class="card card_103"></div>
<div id="card+104" class="card card_104"></div>
<div id="card+105" class="card card_105"></div>
<div id="card+106" class="card card_106"></div>
<div id="card+107" class="card card_107"></div>
<div id="card+108" class="card card_108"></div>
<div id="card+109" class="card card_109"></div>
<div id="card+110" class="card card_110"></div>
</div>

</main>

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

</body>