Stub enemy behaviour #11

Open
opened 2026-08-06 21:51:50 +00:00 by icub3d · 0 comments
Owner

A placeholder opponent so the slice is playable end to end. Real AI — threat scoring,
cover use, focus fire — is M4.

Scope

  • src/ai/ with a behaviour interface that M4's real AI will implement, and one trivial
    implementation behind it: move toward the nearest player unit, attack if in range,
    otherwise wait.
  • The AI submits Action values through the same path the player does. It gets no
    privileged access to state and no separate resolution route.

Acceptance criteria

  • Deterministic under a fixed seed.
  • Uses the same Action API as player input — verified by the fact that resolution
    cannot tell the two apart.
  • The module states in a comment that it is an M1 placeholder and names the issue
    that replaces it.
  • Never hangs the turn: every enemy activation terminates in an action or a wait.
A placeholder opponent so the slice is playable end to end. Real AI — threat scoring, cover use, focus fire — is M4. ## Scope - `src/ai/` with a behaviour interface that M4's real AI will implement, and one trivial implementation behind it: move toward the nearest player unit, attack if in range, otherwise wait. - The AI submits `Action` values through the same path the player does. It gets no privileged access to state and no separate resolution route. ## Acceptance criteria - [ ] Deterministic under a fixed seed. - [ ] Uses the same `Action` API as player input — verified by the fact that resolution cannot tell the two apart. - [ ] The module states in a comment that it is an M1 placeholder and names the issue that replaces it. - [ ] Never hangs the turn: every enemy activation terminates in an action or a wait.
Sign in to join this conversation.
No description provided.