moverules: blocked policy set/keep/clear (GM moves and placements set/clear, KEEP while any wall overlaps); tests; mutations k, l

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-08 18:47:39 +01:00
co-authored by Claude Sonnet 5.5
parent 0e0b1a6052
commit 388e901541
4 changed files with 116 additions and 34 deletions
+1 -1
View File
@@ -57,7 +57,7 @@ suite "probing (T8)":
var empty = mkScene(@[])
var rnd = Rng(s: 99)
var dense = mkScene(randomWalls(rnd, 400, 3000))
dense.tokens[0].pos = (300.0, 2000.0) # may overlap a wall: not blocked, attacker cannot tell
dense.tokens[0].pos = (300.0, 2000.0) # may overlap a wall (unflagged, set directly): attacker cannot tell
var r = Rng(s: 5)
for i in 0 ..< 2000:
let a = r.uni(0, 2 * PI)