nx_build_place.nx
buildroot/runtime/nx_build_place.nx
about
nx_build_place.nx -- SOVEREIGN VISUAL ENGINE rung V3: the BUILD-AND-PLACE board.
The operator's repeated ask: a spatial click-to-PLACE game UI (place factories /
stores on a map), NOT a slider dashboard. This organ EMITS a complete, self-
contained interactive canvas page (the .nx organ authors all HTML/JS -- no
Claude-written JS): a tile grid, a palette (Factory/Store/Bulldoze), click-to-
place, and live counts. Sprites drawn as fillRect compositions in the emitted
JS. Single-quoted JS/unquoted attrs -> no escaping. license_tier: ORIGINAL.
dependencies 1 imports · 1 importers
imports: nx_syscalls.nx
imported by: nx_build_place_test.nx
structs
| none |
consts
| 11 | const K_MAGIC_65536: i64 = 65536 |
functions
| 13 | func bp_app(out: *u8, off: *i64, s: *u8) -> i64 { var i: i64 = 0; while s[i] != (0 as u8) { out[off[0]] = s[i]; off[0] = off[0] + 1; i = i + 1 } return 0 } called by 1: nx_build_place_page |
| 16 | func nx_build_place_page(out: *u8, out_cap: i64) -> i64 |
| 40 | func nx_build_place_save(path: *u8) -> i64 |