Skip to content

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.

Role
Creator · Solo build with a seated agent team
Period
Jul – Oct 2026
Stack
C# (netstandard2.1) · .NET 9 · xUnit · Unity 6 · and 2 more
Place
Remote
An engine capture: the course overview.

An engine capture: the course overview.

Pure C#simulation core, no engine

01 / 02

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.
Art-direction concept frame (AI-generated): aiming a tee shot across floating islands.
02 / 02

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.

Outcomes

By the numbers.

Deterministic
seeded, golden-hash tested
Unity 6
presentation client
Recent activity

The changelog.

July 2026
Jul 2026
shipped:Mainspring — initialize the engine and its first ballistics model4 commits · Jul 2026
Private
↗ Next case study

Circle Lens

Draw a circle twice with the mouse, or tap Shift twice, and a magnifying lens opens at the pointer and follows it, live, anywhere on screen. It zooms only what you are reading, only when you need it, then gets out of the way. It started as the reading lens inside BoundStretch, my own cockpit app, and now ships on its own as a Windows desktop app, a browser extension and a script for websites.