blob: 99e9d6dd2dcac2de98fb75ac6968105f58b6d504 (
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
|
<!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=content, viewport-fit=cover">
<meta name="theme-color" content="#444">
<meta charset="utf-8">
<title>WILDERNESS WAR</title>
<link rel="icon" href="logo.png">
<link rel="stylesheet" href="/fonts/fonts.css">
<link rel="stylesheet" href="/common/client.css">
<link rel="stylesheet" href="play.css">
<link rel="stylesheet" href="images.css">
<script defer src="/common/client.js"></script>
<script defer src="data.js"></script>
<script defer src="play.js"></script>
</head>
<body class="bevel">
<div id="tooltip"></div>
<menu id="popup">
<li class="title">CARD
<li class="separator">
<li data-action="play_event"> 🎴 Play Event
<li data-action="activate_force"> 👤 Activate force
<li data-action="activate_individually"> 👥 Activate individually
<li data-action="construct_stockades"> 🔨 Construct stockades
<li data-action="construct_forts"> 🔨 Construct forts
<li data-action="discard"> 🚫 Discard
</menu>
<div id="removed" class="card_list_dialog hide">
<div id="removed_x" class="card_list_x" onclick="hide_card_list('removed')">❌</div>
<div id="removed_header" class="card_list_header">Removed</div>
<div id="removed_body" class="card_list_body"></div>
</div>
<div id="discard" class="card_list_dialog hide">
<div id="discard_x" class="card_list_x" onclick="hide_card_list('discard')">❌</div>
<div id="discard_header" class="card_list_header">Discard</div>
<div id="discard_body" class="card_list_body"></div>
</div>
<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/charts.html" target="_blank">Charts & Tables</a>
<li><a href="info/cards.html" target="_blank">Cards</a>
<li><a href="info/pieces.html" target="_blank">Leaders & Units</a>
</menu>
</details>
<details id="stack_menu">
<summary><img src="/images/stack.svg"></summary>
<menu>
<li class="unchecked" id="stack_v" onclick="set_layout(0)"> Vertical
<li class="unchecked" id="stack_h" onclick="set_layout(1)"> Horizontal
<li class="unchecked" id="stack_d" onclick="set_layout(2)"> Diagonal
<li class="separator">
<li class="unchecked" id="mouse_focus" onclick="set_mouse_focus()"> Mouse-focus
<li class="separator">
<li class="unchecked" id="style_bevel" onclick="set_style('bevel')"> Beveled
<li class="unchecked" id="style_flat" onclick="set_style('flat')"> Flat
</menu>
</details>
<details id="info_menu">
<summary><img src="/images/wooden-sign.svg"></summary>
<menu>
<li onclick="send_query('supply')"> Supply lines
<li onclick="send_query('removed')"> Removed
<li onclick="send_query('discard')"> Discard
</menu>
</details>
<button id="piece_button" onclick="toggle_counters()"><img src="/images/earth-america.svg"></button>
<details id="demolish_menu" class="hide">
<summary><img src="/images/dig-dug.svg"></summary>
<menu>
<li id="demolish_fort" onclick="send_action('demolish_fort')"> Demolish fort
<li id="demolish_stockade" onclick="send_action('demolish_stockade')"> Demolish stockade
<li id="demolish_fieldworks" onclick="send_action('demolish_fieldworks')"> Demolish fieldworks
</menu>
</details>
</div>
</header>
<aside>
<div id="roles">
<div class="role" id="role_France">
<div class="role_name">France</div>
<div id="french_hand" class="role_stat">?</div>
<div class="role_user"></div>
</div>
<div class="role" id="role_Britain">
<div class="role_name">Britain</div>
<div id="british_hand" class="role_stat">?</div>
<div class="role_user"></div>
</div>
<div id="turn_info"><div id="last_card" class="card show card_back"></div><div id="deck_size">0</div></div>
</div>
<div id="log"></div>
</aside>
<main data-max-zoom="2" onclick="hide_popup_menu()">
<div id="mapwrap">
<div id="map">
<div id="events">
<div class="event" id="event_pitt"></div>
<div class="event" id="event_diplo"></div>
<div class="event" id="event_quiberon"></div>
<div class="event" id="british_card_held"></div>
<div class="event" id="french_card_held"></div>
<div class="event" id="event_no_fr_naval"></div>
<div class="event" id="event_no_amphib"></div>
<div class="event" id="event_cherokees"></div>
<div class="event" id="event_cherokee_uprising"></div>
<div class="event" id="event_british_blockhouses"></div>
<div class="event" id="event_french_blockhouses"></div>
</div>
<div id="bpa_reluctant" onmouseenter="on_focus_bpa(0)" onmouseleave="on_blur_bpa()"></div>
<div id="bpa_supportive" onmouseenter="on_focus_bpa(1)" onmouseleave="on_blur_bpa()"></div>
<div id="bpa_enthusiastic" onmouseenter="on_focus_bpa(2)" onmouseleave="on_blur_bpa()"></div>
<div id="spaces"></div>
<div id="markers">
<div class="marker vps vp_0" id="vp_marker"></div>
<div class="marker provincial_assemblies supportive" id="pa_marker" onmouseenter="on_focus_pa_marker()" onmouseleave="on_blur_bpa()"></div>
<div class="marker season_french_first early year_1755" id="season_marker"></div>
</div>
<div id="pieces">
<div id="focus" class="hide"></div>
</div>
</div>
</div>
<div id="cards" class="hand"></div>
</main>
<footer id="status"></footer>
</body>
|