FAILURE MAP
← Case archive

FA-86388 / Procedural level generation constraints / Member archive

Cave smoothing automaton: Only diagonal neighbours are counted · case 03

Caves smooth into diagonal checkerboards.

Member previewVariant 3 · 3 implementations · 8 checks per implementation

Case contract

One synchronous step over '#'/'.' rows. For each cell count wall cells among its 8 neighbours (the cell itself excluded); out-of-bounds neighbours count as walls when border_wall. A wall stays a wall when the count is in survive; a floor becomes a wall when the count is in birth. All counts use the input grid.

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
open field corner #1["...", "...", "..."]["#.#", "...", "#.#"]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 ↗