Skip to main content

✅ Advance main to next cycle

CategoryAbility
StatusPassing
Testtests/test_turn_sequence.py::test_advance_main_to_next_cycle

advance_phase from second MAIN with cycle < 4 → next cycle, CONTRACT.

Preconditions

  • phase = Phase.MAIN.

  • current_player = Side.PLAYER_2 (second in order).

  • main_phase_order = [Side.PLAYER_1, Side.PLAYER_2].

  • cycle = 2 (< CYCLES_BEFORE_REST).

Action

  • advance_phase(state)

Expected Postconditions

  • cycle = 3.

  • phase = Phase.CONTRACT.

Assertions

assert result.cycle == 3
assert result.phase == Phase.CONTRACT