summaryrefslogtreecommitdiff
path: root/play.html
blob: 83793234abaa49fd14fc4516a7a43cea563ed7e6 (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
<!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 shrink card_0"></div></div>
	<div id="log"></div>
</aside>

<main onclick="hide_popup_menu()">

<div id="mapwrap">
<div id="map">
	<div id="spaces"></div>
	<div id="pieces"></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 id="hand"></div>

</main>

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

</body>