Private build · paused
Mainspring · Golf-Up
A deterministic, theme-agnostic meta-game engine in pure C#, with its first theme, Golf-Up: an isometric golf RPG rendered by a Unity 6 client that owns no game rules.
An engine capture: the course overview.
Pure C#simulation core, no engine
What I built
- A deterministic core. Fixed timestep, a seeded random generator, stable ordering and golden-hash tests, so the same inputs give the same game.
- One modifier engine. Every growth source emits stat modifiers aggregated by one formula, so gear, perks and terrain stack predictably.
- Framework and theme kept apart. The theme-agnostic Meta layer never references the golf theme, so a second theme reuses the whole core.
- A client with no rules. Unity 6 and URP render what the core decided; a frozen Godot build proves the core ports.
- Measured, not eyeballed. GPU time, ball contact and drawn-versus-simulated checks gate the look.
What it taught me
Game rules belong in code that can run without a screen.
Keeping the engine out of the core made every rule testable headless, and it made a seated agent team productive, because each seat owns a path and a handoff contract instead of a scene.
Technical highlights
- 01
Pure-C# domain with no UnityEngine or Godot references, built and tested with dotnet.
- 02
Deterministic simulation with golden-hash tests, ahead of fixed-point for async online play.
- 03
A seated agent team runs the build: a CEO keeps the decision register and a Quality seat gates every push.
By the numbers.
- Deterministic
- seeded, golden-hash tested
- Unity 6
- presentation client