code wiki / _hdl_build / nx_game_web_emit.nx
nx_game_web_emit.nx
buildroot/runtime/_hdl_build/nx_game_web_emit.nx
about
nx_game_web_emit.nx -- NISHI GAME ECOSYSTEM, emitter rung 1: MECHANISTIC, spec-driven emission of a
self-contained PLAYABLE BROWSER game (canvas front-end + JS logic back-end), LLM-FREE at runtime. Same
"data spec in -> playable game out" autonomy as nx_game_emit, but targeting the browser (nishifamily.com)
instead of terminal ASCII, and parameterized so a DIFFERENT spec yields a DIFFERENT game = real
generation (not a hand-cloned title). This rung covers the ARCADE/ACTION collect-class; later rungs add
genre-classes (puzzle/tower-defence/turn-based/...) mapped from the ingested registry. The emitted JS is
single-quoted (no escaping) and authored BY this organ. 100% sovereign emit. license_tier: ORIGINAL
dependencies 1 imports · 2 importers
imports: nx_syscalls.nx
imported by: nx_authorgame_gate.nxnx_game_web_emit_gate.nx
structs
| none |
consts
| none |
functions
| 10 | func p_w(fd: i64, s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(fd, s, n); return 0 } |
| 11 | func p_wn(fd: i64, v: i64) -> i64 |
| 20 | func emit_arcade(path: *u8, title: *u8, gw: i64, gh: i64, ng: i64, nh: i64, seed: i64) -> i64 |