[Phase 2.2] Triangular Battleboard Graph & Movement Keywords #8

Open
opened 2026-11-17 06:12:15 +00:00 by john4064 · 0 comments
Owner

Goal

Implement the Triangular Battleboard coordinate graph (3-2-1 per side in 6v6, 2-1 in 3v3, 1-1 in 1v1) and deterministic movement/engagement rules.

Metadata

  • Phase / Step: Phase 2.2
  • Depends On: #4
  • Unlocks: #9, #25, #26
  • Target Crates / Paths: crates/chaotic_core/src/board.rs
  • Line Budget Plan: Production .rs <= 400 lines, test .rs <= 600 lines, mod.rs < 80 lines (AGENTS.md Section 2.3)

Acceptance Criteria

  • Model 12-space (R2_C0, R1_C0..C1, R0_C0..C2 per side) and 6-space triangular coordinates, intra-side adjacency, and center-seam engagement edges.
  • Enforce Turn 1 mandatory combat check, mandatory move (when able), 1-space base movement, occupied-space blocking, and 1 combat initiation per turn.
  • Support post-combat Action Step continuation (unmoved Creatures may move into unoccupied spaces only) and Relocate / swap effects (bypasses Defender and move locks).
  • Support Range (pass through occupied spaces), cumulative Swift X (+X spaces), and Defender interception.
  • Handle post-combat space occupation: attacker stays on defender death, defender stays on attacker death, space vacates on simultaneous destruction.
## Goal Implement the Triangular Battleboard coordinate graph (`3-2-1` per side in 6v6, `2-1` in 3v3, `1-1` in 1v1) and deterministic movement/engagement rules. ## Metadata - **Phase / Step:** Phase 2.2 - **Depends On:** #4 - **Unlocks:** #9, #25, #26 - **Target Crates / Paths:** `crates/chaotic_core/src/board.rs` - **Line Budget Plan:** Production `.rs` <= 400 lines, test `.rs` <= 600 lines, `mod.rs` < 80 lines (`AGENTS.md` Section 2.3) ## Acceptance Criteria - [ ] Model 12-space (`R2_C0`, `R1_C0..C1`, `R0_C0..C2` per side) and 6-space triangular coordinates, intra-side adjacency, and center-seam engagement edges. - [ ] Enforce Turn 1 mandatory combat check, mandatory move (when able), 1-space base movement, occupied-space blocking, and 1 combat initiation per turn. - [ ] Support post-combat Action Step continuation (unmoved Creatures may move into unoccupied spaces only) and `Relocate` / swap effects (bypasses `Defender` and move locks). - [ ] Support `Range` (pass through occupied spaces), cumulative `Swift X` (`+X` spaces), and `Defender` interception. - [ ] Handle post-combat space occupation: attacker stays on defender death, defender stays on attacker death, space vacates on simultaneous destruction.
Sign in to join this conversation.
No description provided.