1.6 KiB
1.6 KiB
type, title, description, status
| type | title | description | status |
|---|---|---|---|
| User Story | US-010: Handle inactivity and pending selections | Replace absent or unconfirmed role holders using recently active eligible players. | done |
US-010: Handle inactivity and pending selections
As a participant, I want inactive central roles to be replaced fairly so that the game does not stall around absent players.
Acceptance criteria
- A Tyrant or Vigilante who has not logged in for 48 unpaused hours loses the position.
- Random candidates are drawn from eligible opted-in players who logged in during the preceding 24 hours.
- The Tyrant is always excluded from Vigilante selection.
- A previous role holder is excluded when another eligible candidate exists and may be reused only as a fallback.
- Tyrant inactivity ends the reign, clears all assignments, and invokes normal random Tyrant succession followed by Vigilante selection.
- Vigilante inactivity clears Followers and rerolls only the Vigilante position.
- An offline randomly selected candidate must log in within 24 unpaused hours to confirm the assignment.
- An unconfirmed selection expires and rerolls automatically under the same eligibility rules.
- Selection remains vacant and retries periodically when no valid candidate exists.
- Candidate selection cannot assign conflicting roles or choose an opted-out player, including during concurrent joins and deaths.