summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js14
1 files changed, 5 insertions, 9 deletions
diff --git a/rules.js b/rules.js
index 473b6fc..44a2dee 100644
--- a/rules.js
+++ b/rules.js
@@ -420,11 +420,8 @@ function update_zoc() {
// === COMMAND PHASE ===
function goto_command_phase() {
- log("")
log(".h1 Turn " + game.turn)
- log("")
log(".h2 Command Phase")
- log("")
bring_on_reinforcements()
goto_hq_placement_step()
}
@@ -839,7 +836,6 @@ function goto_organization_phase() {
}
}
- log("")
log(".h2 Organization Phase")
// F: ADVANCE FORMATION
@@ -877,7 +873,6 @@ function can_withdraw_any() {
}
function goto_withdrawal() {
- log("")
log(".h2 Withdrawal")
game.remain = 0
game.active = P2
@@ -999,9 +994,7 @@ function can_move_any() {
}
function goto_movement_phase() {
- log("")
log(".h2 Movement Phase")
- log("")
game.remain = 0
game.active = P2
next_movement()
@@ -1130,6 +1123,11 @@ states.movement_to = {
set_piece_hex(game.who, x)
+ if (game.active === P1)
+ log("F: P" + game.who + " moved to " + x)
+ else
+ log("C: P" + game.who + " moved to " + x)
+
// must flip (stream without road, or enter zoc)
if (!(move_seen[x-1000] & 2))
set_piece_mode(game.who, 1)
@@ -1428,9 +1426,7 @@ function can_attack_any() {
}
function goto_attack_phase() {
- log("")
log(".h2 Attack Phase")
- log("")
game.remain = 0
game.active = P2
next_attack()