C:\GRIFFIN\PROJECTS\GAMES\TRUSS>

[@] MAP
###C############
#...........$..#
#.&&..&&...&&..P
#......@.......#
#...*......&&..#
#..............#
######H#########
GAMES/TRUSS     

Doors are hotkeys. Or click the screen and walk with the arrow keys.

TRUSS

Status
Simulation prototype
Stack
Game · Simulation · C#/.NET · Godot · Structural Engineering
  1. #1 Griffin Hale

    A Godot city-builder prototype where a truss solver decides which buildings survive thirty years of storms, code changes and neglect.

    At a glance

    • Outcome: TRUSS: Time-Resolved Urban Structural Simulator is a city-builder in which every beam, brace and footing is a real member solved under real loads. You are the mayor and building authority of a district through thirty years of storms, code changes and deferred maintenance.
    • Status: Pre-alpha prototype. Six scenarios run in the exported Linux desktop build, from the single storefront of Open for Business to the thirty-year Long Campaign; itch.io demo first, then Steam, targeting 2027.
    • Role: Solo. Defined the product decisions, system boundaries, solver specification and contracts; reviewed AI-assisted implementation.
    • Stack & libraries: Godot 4.6.3, .NET 8, a C# solver and domain core, GDScript for interaction, and a Nix flake pinning the toolchain.
    • Validation: Solver tests compare results with hand-calculated answers for simple frames. Scenario tests check that the defective storefront fails between 30 and 40 m/s and both repairs survive 50 m/s, and whole thirty-year campaigns run without a screen and come out the same every time.
  2. #2 Griffin Hale

    • Source: Private.
    • Limitations: No outside playtest is recorded. The review of the Long Campaign’s systems is still open.
  3. #3 Griffin Hale

    TRUSS is a city-builder, like RollerCoaster Tycoon crossed with Kerbal Space Program. Every beam, brace and footing in the district is a real structural part with real dimensions. When the ground shakes or the season’s storm arrives, each part either holds its load or fails.

    A two-story storefront in a cutaway view on a corner lot beside a street with trees. A teal steel frame with diagonal braces holds timber floor joists, stud walls with window headers, part of a brick facade with a shopfront, and a dark roof cut away to show the rafters. Stacked boards and bricks sit beside it. Text reads TRUSS, City under load, and Open for Business: Inspect the storefront. Restore its load path.
    The Open for Business storefront: a steel frame with timber framing and brick around it. You inspect it and restore its load path.
  4. #4 Griffin Hale

    You play the mayor. You write the building code in a visual block-based editor and set the inspection budget. Owners and contractors then build to your code with their own goals and budgets. Contractors use the same parts and the same structural calculations you do.

  5. #5 Griffin Hale

    The Long Campaign runs thirty years as six seasons, and the building code moves through three versions. Buildings lose strength as they age, and each owner decides whether to pay for upkeep. After the first season’s storm in one run, the building whose owner paid for every maintenance round is at full condition. Its neighbor, whose owner skipped all five, is down to two thirds.

  6. #6 Griffin Hale

    After each storm, the debrief scores every building. A forensic report traces each collapse in five steps: the code rule that governed it, its design, its inspections, its condition and the outcome.

  7. #7 Griffin Hale

    You can also walk into a building in first person as an inspector. In Open for Business, the first scenario, the tenant of a two-story steel storefront demanded a clear shopfront. The contractor left the braces out of one ground-floor bay and hid the gap behind a finish panel. Lifting the panel shows empty brace plates and unused bolt holes. In the wind test the frame holds at 35 m/s and fails at 40 m/s.

    The CAD view after the wind test. The Wind Test report panel reads: survived wind speed 35.0 m/s, collapse state COLLAPSED, first limit exceeded: utilization at 40.0 m/s (value 1.083), first failed member 60, removed members 60, 56, peak horizontal displacement 0.06602 m, peak utilization Infinity, collapsed True, no repair profile supplied. The blue frame has orange members along its top chord and two red members, with thin green lines for the displaced shape. The status bar reads: Wind test stress at 35.0 m/s, the last step the frame held. Max utilization 0.83, max drift 0.013 m. Orange > 0.75, red > 1.00.
    The wind test report. The frame holds at 35 m/s and fails at 40 m/s, where member 60 reaches a utilization of 1.083. Members are colored by their utilization at the last step held.
  8. #8 Griffin Hale

    You repair the frame in a drafting editor, and two repairs pass the test at 50 m/s. Restoring the braces is cheaper and faster but blocks the shopfront. A braced frame built about 2 m outside the front costs more and keeps the opening clear.

  9. #9 Griffin Hale

    The latest build fills the screen with the city, every standing building drawn in 3D at its site and the panels laid over it. A district map shades each parcel by condition and marks overdue maintenance. Repair works in Open for Business and Boomtown, and the per-building wind test in Open for Business.

  10. #10 Griffin Hale

    Next come repair inside the campaigns, a macOS build and the itch.io demo.

  11. #11 Griffin Hale

    Open for Business plays end to end: inspect the storefront, find the missing brace, repair the frame and prove it under the wind test.

  12. #12 Griffin Hale

    Boomtown: a small district builds toward one storm day, then scores the result, with save and load.

  13. #13 Griffin Hale

    The thirty-year Long Campaign runs: the building code changes across eras, buildings age, and owners choose whether to pay for upkeep, demolish or rebuild.

  14. #14 Griffin Hale

    The city fills the screen, with every standing building drawn in 3D at its site.