Build Capital Quest for CoCo 3 with maps and emulator tests

This commit is contained in:
Brian Holman committed 2026-11-09 18:44:56 -07:00
commit 9f7d6f4786
44 files changed
+6238

No files matched your search

+27
View File
@@ -0,0 +1,27 @@
# State/capital verification
`states.tsv` is the canonical 50-row alphabetical dataset. Postal code, full
state name, and capital travel together into `src/states.c`. Geography span
index N is always TSV row N; no second alphabetical ordering is introduced.
Alaska = Juneau; Hawaii = Honolulu. DC and territories are excluded.
Checked 2026-11-09 against both full lists:
- <https://www.50states.com/tools/thelist.htm>
- <https://factsinstitute.com/countries/state-capitals/>
Minnesota is displayed as **Saint Paul**. Normalization also accepts **St. Paul**
and **St Paul**, in any case and with repeated or surrounding whitespace.
`map-seeds.json` documents source SVG interior coordinates, replacing outside
callout-label positions for small Northeast states. The conversion asserts
that each seed is land and is in a distinct connected state region. Detached
land is assigned to its nearest identified region, with explicit geographic rules for the
Alaska/Hawaii inset islands and Michigan's Upper Peninsula. Geometry is a simplified educational
map, not a survey or political boundary authority.
`map-manifest.json` records source region sizes, per-view dimensions, source
crop bounds and per-state pixel coverage. `tests/check_assets.py` checks all
50 identity slots, disjoint span coverage, bounds, and small-state/inset
presence. `tools/prepare_assets.py` reproduces all generated C and previews
using only Python's standard library; no SVG is parsed by the CoCo program.