code wiki / _hdl_build / nx_game_exceed_spec.nx
nx_game_exceed_spec.nx source
↩ module page · 86 lines · 6655 B
1// nx_game_exceed_spec.nx -- NISHI GAME RESEARCH, rung 4: the EXCEED STANDARD. Given what open-source games are
2// built with (catalog rung 1 + reviews rung 3, e.g. DeadAscend = Qt Quick), emit a per-DIMENSION, MEASURED,
3// HONEST "how we S-class exceed it" standard (engine / graphics / UI / language / assets / audio / determinism /
4// distribution / from-silicon). Each row cites a REAL Nishi organ + a MEASURABLE exceed axis + an explicit GAP
5// (where we do NOT exceed yet -- no wave). This standard is what the BUILDERS (rung 5) must satisfy. Writes
6// knowledge/store/nx_game_exceed_spec.md. license_tier: ORIGINAL expect_exit: 0
7import "nx_syscalls.nx"
8
9func 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 }
10// emit one dimension block to both fd and stdout
11func row(fd: i64, dim: *u8, landscape: *u8, ours: *u8, organ: *u8, exceed: *u8, gap: *u8) -> i64 {
12 w(fd, "### " as *u8); w(fd, dim); w(fd, "\n" as *u8)
13 w(fd, "- **They use:** " as *u8); w(fd, landscape); w(fd, "\n" as *u8)
14 w(fd, "- **We use (sovereign):** " as *u8); w(fd, ours); w(fd, " _(organ: `" as *u8); w(fd, organ); w(fd, "`)_\n" as *u8)
15 w(fd, "- **Exceed axis (measurable):** " as *u8); w(fd, exceed); w(fd, "\n" as *u8)
16 w(fd, "- **Honest gap (NOT yet exceeding):** " as *u8); w(fd, gap); w(fd, "\n\n" as *u8)
17 w(1, " "); w(1, dim); w(1, ": exceed="); w(1, exceed); w(1, " | GAP="); w(1, gap); w(1, "\n")
18 return 0
19}
20
21func main() -> i64 {
22 let fd: i64 = sys_openat_wr("knowledge/store/nx_game_exceed_spec.md" as *u8, 0x1a4)
23 if fd < 0 { w(2, "EXCEED-SPEC: open failed\n" as *u8); return 1 }
24 w(1, "=== EXCEED STANDARD (measured, honest, per dimension) ===\n" as *u8)
25
26 w(fd, "# Nishi Game Exceed Standard\n\n" as *u8)
27 w(fd, "How the Nishi ecosystem S-class EXCEEDS open-source games, per dimension. Landscape from the 144-game\n" as *u8)
28 w(fd, "catalog (`nx_game_catalog`) + deep reviews (`nx_code_archscan`; e.g. DeadAscend = Qt Quick). Each axis\n" as *u8)
29 w(fd, "cites a REAL organ + a MEASURABLE win + an explicit GAP. This is a per-axis scorecard, NOT a blanket\n" as *u8)
30 w(fd, "claim. The BUILDERS (rung 5) must satisfy the exceed axes.\n\n" as *u8)
31
32 row(fd, "Engine" as *u8,
33 "Qt/Godot/Unity/Unreal or a custom C++ engine + its runtime (DeadAscend: Qt Quick)" as *u8,
34 "the sovereign integer iso engine + the wasm game cores" as *u8, "nx_gfx_iso, nx_wasm_diablo" as *u8,
35 "0 third-party deps (nx_sovereignty_audit), bit-exact determinism, lowers to wasm 0-TODO" as *u8,
36 "no GPU accel; no physics/animation/scene systems yet; decades less feature-mature" as *u8)
37 row(fd, "Graphics" as *u8,
38 "OpenGL/Vulkan/SDL/Qt scene-graph -- GPU + floating point + driver dependency" as *u8,
39 "integer software raster + dynamic radial torch lighting (no float)" as *u8, "nx_gfx_iso" as *u8,
40 "deterministic frames (no float drift); runs with NO GPU driver -- browser AND bare metal" as *u8,
41 "GPU raw throughput (high res/fps), advanced shaders, real 3D -- we are 2.5D software-raster" as *u8)
42 row(fd, "UI" as *u8,
43 "Qt Widgets/Quick, Dear ImGui, or HTML+JS frameworks" as *u8,
44 "self-contained wasm page; the JS does ONLY blit + input; HUD drawn by our own font" as *u8, "nx_wasm_*_html, nx_nishi_font_core" as *u8,
45 "no JS framework / no engine UI runtime -- one self-contained file" as *u8,
46 "rich widgets, accessibility, layout/theming ecosystem" as *u8)
47 row(fd, "Language + toolchain" as *u8,
48 "C++/C#/Rust/Python + gcc/clang/cargo/msbuild/CMake" as *u8,
49 "NishiLang compiled by our own nx_cc -> nxasm -> native ELF" as *u8, "nx_cc, nxasm" as *u8,
50 "sovereign compiler+assembler, no gcc/third-party toolchain in the build" as *u8,
51 "optimizing backend, debugger/IDE, the vast C++/Rust library ecosystem" as *u8)
52 row(fd, "Assets" as *u8,
53 "shipped BINARY art/sprites/tiles (DeadAscend: 1290 binary asset files vs 94 source)" as *u8,
54 "PROCEDURAL generation from spec DATA -- the forge composes detailed characters" as *u8, "nx_sprite_forge" as *u8,
55 "data-driven, no binary blobs -- new content = new spec, the ecosystem emits it" as *u8,
56 "hand-crafted art fidelity, multi-frame animation, large authored worlds" as *u8)
57 row(fd, "Audio" as *u8,
58 "OpenAL/FMOD/SDL_mixer + shipped audio files" as *u8,
59 "sovereign integer SFX engine (coin/laser/explosion/tone/noise + ADSR) + WAV writer" as *u8, "nx_audio_sfx, nx_audio_wav" as *u8,
60 "no-float DETERMINISTIC SFX synthesis -- proven (nx_game_audio_gate 3/3: real WAV + waveform, explosion decays, laser sweeps)" as *u8,
61 "NOT wired into the games yet (no in-game playback) + no music sequencer/tracker" as *u8)
62 row(fd, "Determinism / reproducibility" as *u8,
63 "float + GPU + threads => non-reproducible frames/sims" as *u8,
64 "integer / no-float throughout; gates assert bit-exact re-runs" as *u8, "every *_gate (T4 never-brick)" as *u8,
65 "bit-exact reproducible BY CONSTRUCTION -- a genuine, measurable win, no gap" as *u8,
66 "(none -- this is a clean exceed)" as *u8)
67 row(fd, "Distribution / portability" as *u8,
68 "platform installers + a runtime (Qt libs, .NET, SDL, etc.)" as *u8,
69 "one self-contained .html (wasm) -- runs in any browser, AND on bare metal" as *u8, "nx_compile_wat->nx_wat_compiler, nx_fpga_cpu_dc" as *u8,
70 "single artifact, zero install, browser + on-metal from CMOS up" as *u8,
71 "native desktop integration/polish, app-store packaging" as *u8)
72 row(fd, "Build-from-silicon" as *u8,
73 "assume an OS + drivers + GPU exist" as *u8,
74 "the spore germinates from CMOS/POST up; graphics proven on sovereign silicon" as *u8, "nx_fpga_cpu_dc, genesis never-brick gate" as *u8,
75 "full stack from the transistor up, never-brick by construction (rule 26)" as *u8,
76 "early/experimental; far from a shipping on-metal game console" as *u8)
77
78 w(fd, "## Verdict (honest)\n" as *u8)
79 w(fd, "CLEAN EXCEED: sovereignty, determinism, distribution/portability, build-from-silicon, asset-generation.\n" as *u8)
80 w(fd, "WE LAG: GPU performance, engine feature-maturity (physics/animation/scenes), art fidelity, audio-WIRING\n" as *u8)
81 w(fd, "(SFX engine PROVEN via nx_game_audio_gate, not yet in-game) + music, toolchain. Builders (R5) target these.\n" as *u8)
82 sys_close(fd)
83
84 w(1, "EXCEED-SPEC-OK -> knowledge/store/nx_game_exceed_spec.md (clean-exceed=5; audio SFX engine PROVEN, gap=wiring)\n" as *u8)
85 return 0
86}