Turn scheduler #6
Labels
No labels
area/ai
area/build
area/character
area/combat
area/data
area/docs
area/game
area/net
area/ui
area/world
size
l
size
m
size
s
type
bug
type
design
type
feature
type
refactor
type
test
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
icub3d/terra-redux#6
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The turn scheduler — design pillar 2, "turn order is a resource". Each character has an
independent cadence driven by
TurnSpeed; a fast unit acts more often, not merelyearlier.
This is the most important pure-logic component in M1. It must have no Bevy rendering
dependency and must be exhaustively tested.
Scope
TurnSpeeddrives frequency. Ties broken deterministically by an explicit rule, neverby iteration order.
the schedule.
Acceptance criteria
sequence in a unit test.
run — asserted, not assumed.
Notes
This is a candidate for an ADR: the scheduler's shape constrains the whole combat model
and is expensive to change later. See
docs/adr/0001-record-architecture-decisions.md.