summaryrefslogtreecommitdiff
path: root/create.html
blob: 6ca0763b6bd5ad044c89e1cf4a9b1a6acdeeb4fb (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
<dl>
<dt>
<a href="/julius-caesar/info/rules.html#setup">Historical</a>
<dd>
Historical deployment.
<dt>
<a href="/julius-caesar/info/rules.html#setup">Free Deployment</a>
<dd>
Players may swap any blocks on the map as long as the original number of
deployed blocks in each city is maintained.
</dl>

<dl>
<dt>
<label><input type="checkbox" name="tournament" value="true">Tournament</label>
<dd>
Julius Caesar goes first on the first turn regardless of the cards played.
</dl>

<dl>
<dt>
<label>
<input type="checkbox" id="delay_hits" name="delay_hits" value="true">
Delay hit assignment
</label>
<dd>Let all blocks with the same initiative fire before assigning hits.
<dd>This option is recommended for games that are not played live.

<dt>
<label>
<input type="checkbox" id="autohit" name="autohit" value="true">
Automatically assign hits when possible.
</label>
<dd>
<i class="warning" id="warning"></i>
</dl>

<p>
House rules:
<br><label><input type="checkbox" name="max_2_events" value="true">Max 2 event cards per hand.</label>
<br><label><input type="checkbox" name="remove_jupiter" value="true">Remove Jupiter.</label>
<br><label><input type="checkbox" name="remove_vulcan" value="true">Remove Vulcan.</label>
<br><label><input type="checkbox" name="remove_all_events" value="true">Remove all events.</label>
<!--
<br><label><input type="checkbox" name="remove_apollo" value="true">Remove Apollo.</label>
<br><label><input type="checkbox" name="remove_jupiter" value="true">Remove Jupiter.</label>
<br><label><input type="checkbox" name="remove_mercury" value="true">Remove Mercury.</label>
<br><label><input type="checkbox" name="remove_mars" value="true">Remove Mars.</label>
<br><label><input type="checkbox" name="remove_neptune" value="true">Remove Neptune.</label>
<br><label><input type="checkbox" name="remove_pluto" value="true">Remove Pluto.</label>
<br><label><input type="checkbox" name="remove_vulcan" value="true">Remove Vulcan.</label>
-->

<p>
<i class="warning" id="warning"></i>

<script>
let cb1 = document.getElementById("autohit")
let cb2 = document.getElementById("delay_hits")
let msg = document.getElementById("warning")
function warn_opts() {
	if (cb1.checked)
		msg.textContent = "Tip: Delay hit assignment is a better option for async play."
	else
		msg.textContent = ""
}
cb1.onchange = function () { if (cb1.checked) cb2.checked = false; warn_opts() }
cb2.onchange = function () { if (cb2.checked) cb1.checked = false; warn_opts() }
</script>