FAILURE MAP
← Case archive

FA-86437 / Procedural level generation constraints / Member archive

Enemy spawn point selection: Spawns may touch each other · case 02

Enemy packs spawn stacked on adjacent tiles.

Member previewVariant 2 · 3 implementations · 8 checks per implementation

Case contract

Candidates [row, col] are tried in order until count spawns are chosen. A spawn must be in bounds on a '.' tile, at Chebyshev distance >= min_dist from the player and at Chebyshev distance >= 2 from every chosen spawn (no touching spawns, diagonals included). Returns chosen cells.

Why this case matters

Procedural generators silently emit unplayable or unfair levels when a single constraint check uses the wrong boundary, axis, neighborhood or update order; the defect is visible in exact generated geometry.

One recorded failure

Sample boundary fixture

This sample comes from the broken implementation of a controlled reproducer.

Boundary fixtureActualExpectedOutcome
diagonal neighbour spawn #1[[1, 2], [2, 3]][[1, 2]]Failed

MEMBER ARCHIVE

The complete case is available to members.

This record includes three runnable implementations, regression fixtures, execution results, and source hashes.

Member access is invitation-based. Sign in with your invited account to inspect the sources.

Sign in to the archive ↗