José Miguel Gómez

Back to the home page

Seedworks

Same seed, same world in C#, C++ and the browser

The code lives in a private repository; this sheet and the demo, when there is one, show the work.

Status
Coming soon
Type
Developer tool
Running since
November 2026
Role
Architect and sole engineer
Domains
gamedev, procedural generation, determinism
Cast
Csharp, Dotnet, Cpp, Webassembly, TypeScript, Vite, Cmake, Zig, Xunit, Catch2

Context and problem

Seeded levels only work when a seed means the same map everywhere; generators tied to one runtime drift between engine, server and browser. Seedworks makes 13 generators byte-identical in C#, C++ and WebAssembly and proves it with 260 golden hashes and randomised cross-checks.

Screens

How it was built

Built in 2.3 h · USD 52.22 of AI · 397 tests · 4 audits

Source: Trysac/l34-procgen-core docs/development-report.md (lines 8, 10, 25), dated 21 November 2026.

Results with dated evidence

Outcomes as stated in the manifest; the measured figures are the ones with a date.

  • 260/260 golden cases pass in C#, native C++ and C++ compiled to WebAssembly
  • 0 disagreements between C# and C++ in 100 013 randomised cross-checks
  • Invariants of all 13 generators checked by property tests in both languages

Case study in preparation

The full case study adds these sections when it is published:

  • Constraints
  • Architecture diagrams (C4 context and containers)
  • Three key decisions
  • What went wrong
  • Demo video
  • What I would do differently

Highlights

determinism, cross language, property testing, webassembly