moverules: door close pushes overlapped tokens aside (valid-side check, blocked only if no side valid); Push list; tests; mutations m-o
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -79,15 +79,20 @@
|
||||
... [Suite] blocked flag
|
||||
... [OK] wall added within r of the circle (centre not on it) sets blocked; exactly r does not
|
||||
... [OK] GM-controlled tokens get the flag too; wall bbox does not matter, distance does
|
||||
... [OK] open door added or opened never sets; closing a door on a token does
|
||||
... [OK] open door added or opened never sets; closing a door on a token pushes it, never sets
|
||||
... [OK] blocked token: player moves refused, GM move allowed
|
||||
... [OK] cleared by removing the wall; unrelated removals keep it
|
||||
... [OK] cleared by opening the door; a second open is a no-op
|
||||
... [OK] cleared by the GM; not re-set by itself
|
||||
... [OK] wall update = remove then add
|
||||
... [OK] GM placement and GM move onto a wall: blocked; player escape works only after a GM clear
|
||||
... [OK] Q14: a door closed 10 px from a token: token blocked, player refused, GM moves it clear, opening frees it
|
||||
... [OK] doorway: token in an open doorway, door closes -> blocked, door opens -> free
|
||||
... [OK] Q14: a door closed 10 px from a token: pushed to its side, clear by r, not blocked; GM-owned too
|
||||
... [OK] push: centre on the door line -> side of the previous position; no history -> left of a->b
|
||||
... [OK] push: past the end of the door the offset shrinks (minimal), still >= r from the door
|
||||
... [OK] push: one side blocked by another wall -> the other side; out of bounds -> the other side
|
||||
... [OK] push: both sides invalid -> blocked in place; door open -> free; GM can still move it
|
||||
... [OK] push: wall added on a token still sticks it (regression); closing on nobody pushes nobody
|
||||
... [OK] doorway: token in an open doorway, door closes -> pushed clear, free; door reopens/closes again -> unchanged
|
||||
... [OK] KEEP: opening one door / removing one wall while another overlaps -> still blocked; last one frees
|
||||
... [OK] KEEP: wall update away from one of two overlapping walls keeps blocked
|
||||
... [OK] GM moves a stuck token clear -> free; to another wall-overlapping spot -> still blocked
|
||||
|
||||
Reference in New Issue
Block a user