Map: 64u grid — pixel-exact lanes from the full-res pathing map - #13
Merged
Conversation
Owner-directed: "the full res map is accurate if you can deduce the lanes correctly." Measured, the original is authored on WC3's 64u grid (at 64u cells the wpm quantizes with ZERO fractional cells), while real channels bottom out at 128u and real walls at 64u — widths a 128u grid provably cannot represent when unaligned (channels lost) or sub-cell (walls gone, lanes merged). The emitted grid is now 64u (162x226, EMIT_SUBDIV=2): a pixel-exact copy of the original's enforced ship-pathing. - terrain.py: geometry subdivision; land-biased tie sampler (dormant here — the map aligns — but correct for any future non-aligned source) + a provably-merge-safe straddled-channel restore pass; island/access constants scaled (moat cores 9x9, cycleLen 40, single entrances hold); NEW HARD GATE G6: pairwise water-connectivity of all 22 gameplay anchors on the emitted grid must equal the raw 32u wpm's — any lost channel or false merge fails the build. - Sim: cell-denominated steering constants converted to world units (dock-approach hand-off 128u, nav local-goal basin 768u, derived from mask cellSize) so grid resolution is a data property, not behavior. - Probes: bot-vs-bot long-run window 6000->9000 ticks — on the true tighter lanes the first tower-chipping leaker lands ~tick 5000 (verified steady: 3.5k tower hits by tick 24000, 10 captains); all other windows unchanged. - Owner-verified fixes hold at 64u: NE/east lanes separate; the SE Library docks bottom-lane SW; corner-reach probe still reaches every quadrant. Full suite 1,245 green (trader haul, creep clash/grind, AI siege, fog/ cliffs, determinism replays); lint clean. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Owner-directed: deduce the lanes from the full-res map. The original is authored on WC3's 64u grid — at 64u cells the pathing map quantizes with zero fractional cells, so the new 162x226 grid is a pixel-exact representation. New hard gate G6 asserts lane-topology equivalence (22 anchors, pairwise water-connectivity) against the raw 32u pathing map on every regeneration. Steering constants are now world-unit-derived.
Test plan
🤖 Generated with Claude Code