code wiki / _hdl_build / nx_game_web_emit.nx

nx_game_web_emit.nx

buildroot/runtime/_hdl_build/nx_game_web_emit.nx

4066 B43 linesdepth 2pulls 2 transitivereach 2 importersview sourcekind librarytopic game
docsdependenciesstructsconstsfunctions

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

nx_syscalls.nx nx_game_web_emit.nx nx_authorgame_gate.nx nx_game_web_emit_gate.nx

imports: nx_syscalls.nx

imported by: nx_authorgame_gate.nxnx_game_web_emit_gate.nx

structs

none

consts

none

functions

10func 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 }
called by 1: emit_arcade calls 1: sys_write
11func p_wn(fd: i64, v: i64) -> i64
called by 1: emit_arcade calls 2: sys_mmapsys_write
20func emit_arcade(path: *u8, title: *u8, gw: i64, gh: i64, ng: i64, nh: i64, seed: i64) -> i64