code wiki / _hdl_build / nx_wasm_mineworld_mp_html.nx
nx_wasm_mineworld_mp_html.nx
buildroot/runtime/_hdl_build/nx_wasm_mineworld_mp_html.nx
about
nx_wasm_mineworld_mp_html.nx -- SOVEREIGN packager for MULTIPLAYER MineWorld (GTA-online rung 1) with
LOGIC-FREE JS (operator law): the wasm core owns the sim (start/tick/render_cam/dig/put, integer trig) AND
the whole net protocol (net_push packs the frame; net_ingest_roster parses peers). The page only: captures
raw input, blits, and memcpy's bytes to/from /pstate + /roster every 150ms. Peer id = browser crypto entropy
(transport identity, not game logic). Room = URL #hash (default 42). Serve via nx_mp_serve :7702 /mineworld.
usage: nx_wasm_mineworld_mp_html <in.wasm> <out.html>. license_tier: ORIGINAL
dependencies 3 imports · 0 importers
imports: nx_syscalls.nxnx_base64.nxnx_wasmfit.nx
imported by: nobody (leaf or entry point)
structs
| none |
consts
| none |
functions
| 11 | func hw(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 } |
| 13 | func main(argc: i64, argv: *i64) -> i64 |