Skip to content

A Civilization-style strategy game about governing Israel from 15 May 1948. Real ministers, real map, every fact sourced. Unity + deterministic C# sim.

docs+build: IL2CPP/WebGL golden hash pending M3, WebGL map input deferred, Map.unity is build scene 0

eyalgolan08edc3369efe
diff --git a/docs/determinism.md b/docs/determinism.md
index 76870a1eb..d20be0396 100644
--- a/docs/determinism.md
+++ b/docs/determinism.md
@@ -26,6 +26,9 @@ The constant is asserted in two places:
- `sim/Statecraft.Sim.Tests/DeterminismTests.cs` (`GoldenHash`), on .NET.
- `unity/Assets/Tests/EditMode/SimSmokeTests.cs` (`GoldenHash`), inside Unity (plan Task 23).
+So far the hash is verified on .NET and Unity editor Mono; IL2CPP/WebGL pending M3 (the first player build asserts it
+in a macOS IL2CPP player and a WebGL player).
+
**Any change to this hash is a deliberate rules or content change.** Such a change could be to a rule, a system,
content in `content/`, or the hash format. When it happens, update the constant here, in `DeterminismTests.cs` and in
`SimSmokeTests.cs`, all in the same commit, and say in the commit message why the hash moved. If the hash changes and
diff --git a/docs/superpowers/plans/2026-10-09-statecraft-m0-m2.md b/docs/superpowers/plans/2026-10-09-statecraft-m0-m2.md
index d9d3a58a2..670db9546 100644
--- a/docs/superpowers/plans/2026-10-09-statecraft-m0-m2.md
+++ b/docs/superpowers/plans/2026-10-09-statecraft-m0-m2.md
@@ -6278,6 +6278,8 @@ Each item below is in the spec and has a home. None is silently dropped.
| Steam page and AI-disclosure manifest | M5 |
| Legal review of map data licences before release: IMS station rainfall from data.gov.il is labelled "Other (Open)" with no licence URL (content/map/precip_stations.json); CHELSA is CC0; Copernicus DEM attribution | M5 (release pipeline) |
| Profile terrain `heightmapPixelError = 1` (needed so the hex overlay drape stays visible) on the WebGL target; measured only on macOS batch mode (+2 ms/frame flythrough) | M3 (first player build) |
+| WebGL map input provider (UnityWebRequest for heightmap, hexes.json, settlements) and copying content/map into StreamingAssets | M3 (first player build) |
+| Golden hash asserted in a macOS IL2CPP player and a WebGL player | M3 (first player build) |
| Open fact: how the budget was approved in 1948–56 (`open_questions: [budget_approval]` is pinned by a test) | Content work before M4 |
| Hebrew names (`name_he`) and birth/death dates for people (spec §5.3) | Content work before M4 |
| "Military or economic collapse ends the state" (spec §4) | M4 |
diff --git a/unity/Assets/Tests/EditMode/SimSmokeTests.cs b/unity/Assets/Tests/EditMode/SimSmokeTests.cs
index c1399535e..3b67ee894 100644
--- a/unity/Assets/Tests/EditMode/SimSmokeTests.cs
+++ b/unity/Assets/Tests/EditMode/SimSmokeTests.cs
@@ -18,7 +18,8 @@ public class SimSmokeTests
}
/// <summary>The same playthrough and constant as sim/Statecraft.Sim.Tests/DeterminismTests.cs (see docs/determinism.md).
- /// It proves Unity's runtime computes, bit for bit, what .NET computes. Update all three places together.</summary>
+ /// It proves the Unity editor's runtime computes, bit for bit, what .NET computes: verified on .NET and Unity editor
+ /// Mono; IL2CPP/WebGL pending M3. Update all three places together.</summary>
public const string GoldenHash = "eb9756528eeebdc7b078ab90f7fe7a349edcfc94be9543e5f20f258da4e500e9";
[Test]
diff --git a/unity/ProjectSettings/EditorBuildSettings.asset b/unity/ProjectSettings/EditorBuildSettings.asset
index d057ba3d0..01cdf825f 100644
--- a/unity/ProjectSettings/EditorBuildSettings.asset
+++ b/unity/ProjectSettings/EditorBuildSettings.asset
@@ -6,8 +6,8 @@ EditorBuildSettings:
serializedVersion: 2
m_Scenes:
- enabled: 1
- path: Assets/Scenes/SampleScene.unity
- guid: 99c9720ab356a0642a771bea13969a05
+ path: Assets/Map.unity
+ guid: ba558e75af959491ead0de8db10586c1
m_configObjects:
com.unity.input.settings.actions: {fileID: -944628639613478452, guid: 052faaac586de48259a63d0c4782560b, type: 3}
m_UseUCBPForAssetBundles: 0