2026-05-12 00:19:00 +02:00
2026-05-12 00:19:00 +02:00
2026-05-11 21:51:18 +02:00
2026-05-10 13:22:17 +02:00
2026-05-11 22:38:33 +02:00
2026-05-09 12:29:32 +02:00
2026-05-11 22:38:33 +02:00
2026-05-09 12:29:32 +02:00
2026-05-10 19:14:28 +02:00
2026-05-10 18:37:30 +02:00
2026-05-10 22:35:25 +02:00
2026-05-11 22:34:19 +02:00

Reactor Maintenance

C# WinUI 3 + Win2D level editor for the deterministic grid simulation described in docs/design.md.

Projects

  • src/ReactorMaintenance.Simulation: UI-independent level model, editor operations, validation, forecasts, simulation turns, versioned JSON serialization, and deterministic balancing defaults.
  • src/ReactorMaintenance.Win2D: Win2D editor app for authoring terrain, underground fuel/coolant/electricity networks, props, explicit leak access faces, door edges, reactor consumer bindings, rule events, surface hazards, robot start, loading/saving levels, ending turns, interacting with props, and activating a ready reactor.
  • tests/ReactorMaintenance.Simulation.Tests: unit tests for deterministic simulation behavior, validation, serialization, and editor operations.

Editor Controls

  • Left click selects or paints with the current tool. Right click clears the selected cell's prop, surface hazards, leaks, doors, and reactor control.
  • Door authoring is explicit: select the Door tool, click the door cell, then click the adjacent floor cell that defines the blocked edge.
  • Electricity wall leaks are explicit: select the Electricity Leak tool, click the wall network cell, then click the adjacent floor access face.
  • Reactor bindings are explicit: select or place a reactor control, select a matching consumer cell, then use the Fuel, Coolant, or Electric binding action in the inspector.
  • Rule event authoring is available from the inspector for next-turn warnings and selected-cell leak events; authored events are saved in the version 2 JSON schema.

Commands

dotnet test tests\ReactorMaintenance.Simulation.Tests\ReactorMaintenance.Simulation.Tests.csproj
dotnet build src\ReactorMaintenance.Win2D\ReactorMaintenance.Win2D.csproj -p:Platform=x64 -p:EnableWindowsTargeting=true
dotnet run --project src\ReactorMaintenance.Win2D\ReactorMaintenance.Win2D.csproj -p:Platform=x64

The WinUI/XAML compiler is Windows-specific. On Linux, the simulation tests run normally, but the Win2D app build must be verified in a Windows-capable environment.

Description
No description provided
Readme 103 MiB
Languages
C# 100%