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(readme): language bar, Hebrew README, BUILDING.md, dated screenshot caption, accurate history section

eyalgolan44690e49f6d1
diff --git a/BUILDING.md b/BUILDING.md
new file mode 100644
index 000000000..4d7277c9d
--- /dev/null
+++ b/BUILDING.md
@@ -0,0 +1,44 @@
+# Building Statecraft: Israel
+
+The README gives the short version. This page has the exact commands. The full developer setup, including the Unity
+Hub install command, is in [`docs/dev-setup.md`](docs/dev-setup.md).
+
+## Requirements
+
+- Unity **6000.3.25f1** (6.3 LTS) with Web Build Support. The exact version and changeset are in
+ [`unity/ProjectSettings/ProjectVersion.txt`](unity/ProjectSettings/ProjectVersion.txt); other versions are not
+ tested. You need your own Unity licence, activated in Unity Hub (sign in, then Preferences → Licenses) before any
+ batch-mode command; Unity Personal is free within Unity's terms.
+- .NET SDK 10.0.401 and [uv](https://github.com/astral-sh/uv) 0.12.5.
+- No Git LFS: a plain `git clone` is complete.
+
+## Run locally
+
+```bash
+git clone https://github.com/eyalgolan/statecraft-israel.git && cd statecraft-israel
+tools/build_sim_for_unity.sh # the sim DLLs Unity loads (build output, not committed)
+export UNITY="/Applications/Unity/Hub/Editor/6000.3.25f1/Unity.app/Contents/MacOS/Unity" # macOS path
+# Windows: "C:\Program Files\Unity\Hub\Editor\6000.3.25f1\Editor\Unity.exe"; Linux: ~/Unity/Hub/Editor/6000.3.25f1/Editor/Unity
+"$UNITY" -batchmode -quit -projectPath unity -buildTarget WebGL -executeMethod Statecraft.Game.EditorTools.Build.Web -compression disabled -logFile "$PWD/unity-build-web.log"
+python3 -m http.server 8000 --directory unity/Builds/Web-disabled # then open http://localhost:8000/
+```
+
+A build rewrites some cached settings. Drop them afterwards with
+`git checkout -- unity/Assets/Settings unity/ProjectSettings/ProjectSettings.asset`.
+
+## In the editor
+
+Unity Hub → **Add** → select `unity/`, then open `Assets/Map.unity` and press Play. Run `tools/build_sim_for_unity.sh`
+again after every change under `sim/`.
+
+## Tests
+
+The test commands, and why Unity tests are not in CI, are in [`CONTRIBUTING.md`](CONTRIBUTING.md) ("Rules every change follows", "What CI runs"). The browser check of a build is `tools/web_check.py` ([`docs/m3-release.md`](docs/m3-release.md)).
+
+## Repository layout
+
+- `sim/`: the simulation, a pure C# library (netstandard2.1) with xUnit tests. No Unity dependency.
+- `content/`: the game's data (YAML and JSON): people, offices, parties, events, map data. Every fact carries `sources:`.
+- `unity/`: the Unity project, which presents the sim. No game rules live here.
+- `tools/`: Python data tools (map and rainfall pipelines, browser check), run with `uv`.
+- `scripts/oss/`: repository policy checks.
diff --git a/README.he.md b/README.he.md
new file mode 100644
index 000000000..f90dce2ef
--- /dev/null
+++ b/README.he.md
@@ -0,0 +1,73 @@
+[English](README.md) · **עברית**
+
+<div align="center">
+
+<img src="docs/images/hero-concept-1936.jpg" width="820" alt="AI-generated concept art of the target look, set in 1936. This is not the current build.">
+
+# Statecraft: Israel
+
+</div>
+
+<div dir="rtl">
+
+*אמנות קונספט שנוצרה בבינה מלאכותית: המראה שאליו אנחנו שואפים, בשנת 1936, לפני נקודת הפתיחה של המשחק ב־1948. זו אינה הגרסה הנוכחית, והיא מציגה דברים שאין עדיין במשחק. צילומי מסך אמיתיים מהגרסה הנוכחית מופיעים למטה.*
+
+**משחק אסטרטגיה מבוסס־תורות על ניהול מדינת ישראל. אתם ראש הממשלה ב־15 במאי 1948. השרים אמיתיים, המפה אמיתית, ולכל עובדה היסטורית יש מקור.**
+
+העמוד הזה תמצית של [README.md](README.md). הנוסח האנגלי הוא המחייב, ואם יש הבדל בין השניים, האנגלי קובע. תיקוני לשון לעמוד הזה יתקבלו בברכה.
+
+</div>
+
+<div align="center">
+
+<img src="docs/images/build-m3-map.jpg" width="820" alt="Current build 0.1.0 (M3): the terrain map with the top bar and an event card.">
+<br>
+<img src="docs/images/build-m3-cabinet.jpg" width="405" alt="Current build 0.1.0 (M3): the Cabinet screen.">
+<img src="docs/images/build-m3-why.jpg" width="405" alt="Current build 0.1.0 (M3): the Why panel.">
+
+</div>
+
+<div dir="rtl">
+
+<p align="center"><em>צילומי מסך אמיתיים מגרסה 0.1.0 (M3), 2026-10-10.</em></p>
+
+</div>
+
+> [!NOTE]
+> <div dir="rtl">Statecraft: Israel הוא פרויקט קוד פתוח עצמאי, ומתוכננת לו גרסה מסחרית. אין לפרויקט קשר ל־Firaxis, ל־2K, למדינת ישראל או לאדם כלשהו המופיע בו, והם אינם תומכים בו. המשחק עוסק במלחמה, בטרור ובשואה כאירועים היסטוריים. המסגור שלו ישראלי, כל עובדה מצוטטת עם מקור, ואף ציטוט אינו בדוי. לפרטים: <a href="docs/CONTENT_POLICY.md">מדיניות התוכן ההיסטורי</a>.</div>
+
+<div dir="rtl">
+
+##### [דיווח על באג](https://github.com/eyalgolan/statecraft-israel/issues/new?template=bug_report.yml) | [דיווח על טעות היסטורית](https://github.com/eyalgolan/statecraft-israel/issues/new?template=historical_accuracy.yml) | [דיונים](https://github.com/eyalgolan/statecraft-israel/discussions) | [יומן שינויים](CHANGELOG.md)
+
+## על מה המשחק?
+
+אתם יושבים בכיסא ראש הממשלה מיום הקמת המדינה. בכל תור אתם ממנים ומחליפים שרים אמיתיים בתוך קואליציה אמיתית, מחלקים תקציב זעום, מנהלים את הביטחון על סולם הסלמה, ומכריעים בהחלטות אמיתיות במועדן האמיתי. מתחת לפני השטח רצה סימולציה דטרמיניסטית ב־C#: אותן בחירות תמיד נותנות אותה תוצאה. המפה נבנתה מנתוני גובה ואקלים אמיתיים.
+
+## מה המצב היום?
+
+***אב־טיפוס מוקדם: אבן הדרך M3 הושלמה, והשנים 1948 עד 1951 ניתנות למשחק כשבונים מקוד המקור.*** עדיין אין גרסה שאפשר לשחק בה בדפדפן בלחיצה אחת; גרסה מתארחת מתוכננת לאבן הדרך M4. הוראות ההרצה המקומית (באנגלית): [BUILDING.md](BUILDING.md). הבנייה דורשת Unity בגרסה 6000.3.25f1.
+
+## היסטוריה, מקורות ודיוק
+
+- לכל אירוע, שר, תאריך ומספר יש מקורות ותאריך בדיקה. ויקיפדיה (באנגלית ובעברית) היא מקור מצוטט מרכזי לעובדות רבות, ולכן תוכן המשחק (`content/`) מורשה ב־CC BY-SA 4.0.
+- המודל שמאחורי המשחק והמסגור שלו מבוססים על הנחות. הוא אינו ניטרלי, והעמוד הזה אומר זאת במפורש.
+- אף ציטוט לא מיוחס לאדם אמיתי אלא אם הוא מתועד מילה במילה.
+- אירועים על מלחמה, טרור ושואה מסומנים כרגישים. הם עוברים בדיקת רגישות לפני שמשתפים גרסה כלשהי, וכלי הבנייה מסרבים לארוז עד שהבדיקה נרשמה. סקירה של היסטוריונים מתוכננת לאבן הדרך M4.
+- מצאתם טעות? מלאו את טופס [טעות היסטורית](.github/ISSUE_TEMPLATE/historical_accuracy.yml) וצרפו מקור, כי אי אפשר לפעול על טענה בלי מקור. הכללים המלאים: [docs/CONTENT_POLICY.md](docs/CONTENT_POLICY.md).
+
+## איך משתתפים
+
+מתכנתים, היסטוריונים, אמנים, מעצבי משחק, כותבים ומתרגמים: התחילו ב־[CONTRIBUTING.md](CONTRIBUTING.md) (באנגלית). אפשר לעבוד גם עם בינה מלאכותית, בתנאי שמצהירים על כך ושכל טענה היסטורית נבדקה מול מקור. אין הסכם CLA: תרומות נכנסות תחת הרישיונות של המאגר. מחפשים משימה ראשונה? ראו את הסינון [good first issue](https://github.com/eyalgolan/statecraft-israel/labels/good%20first%20issue), את [help wanted](https://github.com/eyalgolan/statecraft-israel/labels/help%20wanted) ואת [הבעיות הפתוחות](https://github.com/eyalgolan/statecraft-israel/issues).
+
+## שימוש בבינה מלאכותית
+
+הפרויקט נבנה בסיוע מאסיבי של בינה מלאכותית. קוד נכתב עם סוכני קוד ונבדק בבדיקות ובשערי סקירה; תמונות הקונספט והפרומו הן תוצר של בינה מלאכותית, וטקסט האירועים נוסח בסיועה וכל עובדה בו נבדקת מול המקור המצוטט. הפורטרטים הם צילומים בנחלת הכלל, ואין עדיין סאונד. דבר אינו נוצר בזמן אמת בזמן המשחק.
+
+## רישיון
+
+קוד: MIT. תוכן המשחק (`content/`): CC BY-SA 4.0. מסמכים, נתונים ואמנות מקוריים: CC BY 4.0. תמונות שנוצרו בבינה מלאכותית: CC0, ללא טענת זכויות. הפירוט: [LICENSING.md](LICENSING.md).
+
+על בעיות אבטחה מדווחים באופן פרטי, ראו [SECURITY.md](SECURITY.md). קוד ההתנהגות: [CODE_OF_CONDUCT.md](CODE_OF_CONDUCT.md).
+
+</div>
diff --git a/README.md b/README.md
index 02295eb56..2a845be7a 100644
--- a/README.md
+++ b/README.md
@@ -1,7 +1,11 @@
+**English** · [עברית](README.he.md)
+
<p align="center">
- <img src="docs/images/hero-concept-1936.jpg" alt="Concept art of the target look: a tilt-shift diorama of the coast around Tel Aviv and Jaffa in 1936, with a top resource bar and an event card. This is AI-generated concept art, not the current build." width="100%">
+ <img src="docs/images/hero-concept-1936.jpg"
+ alt="Concept art of the target look: a tilt-shift diorama of the coast around Tel Aviv and Jaffa in 1936, with a top resource bar and an event card. This is AI-generated concept art, not the current build." width="100%">
<br>
- <em>Concept art (AI-generated): the look we are building toward. It is not the current build, and it shows things the game does not have. Real screenshots of today's build are <a href="#what-it-looks-like-today">below</a>.</em>
+ <em>Concept art (AI-generated): the look we are building toward, set in 1936, before the game's 1948 start. It is not the current build, and it shows things the game does not have.
+ Real screenshots of today's build are <a href="#what-it-looks-like-today">below</a>.</em>
</p>
# Statecraft: Israel
@@ -11,13 +15,18 @@
[![Unity 6000.3.25f1](https://img.shields.io/badge/Unity-6000.3.25f1-black.svg)](unity/ProjectSettings/ProjectVersion.txt)
![Status: playable 1948–1951 prototype](https://img.shields.io/badge/status-playable%201948%E2%80%931951-orange.svg)
-**A Civilization-style strategy game about governing Israel. You are the prime minister on 15 May 1948. The ministers are the real ones, the map is real, and every historical fact comes with a source.**
+**A turn-based grand-strategy game about governing Israel.
+ You are the prime minister on 15 May 1948. The ministers are the real ones, the map is real, and every historical fact comes with a source.**
> [!NOTE]
-> This is an independent open-source project. It is not affiliated with or endorsed by Firaxis, 2K, the State of Israel or any person depicted. The game deals with war, terror and the Holocaust as historical events. Its framing is Israeli, every fact cites a source, and no quotes are invented. See [Historical content](#history-sources-and-accuracy).
+> This is an independent open-source project. A commercial edition is planned.
+ It is not affiliated with or endorsed by Firaxis, 2K, the State of Israel or any person depicted. The game deals with war, terror and the Holocaust as historical events. Its framing is Israeli, every fact cites a source, and no quotes are invented. See [Historical content](#history-sources-and-accuracy).
+
+##### [Report a bug](https://github.com/eyalgolan/statecraft-israel/issues/new?template=bug_report.yml) | [Report a historical error](https://github.com/eyalgolan/statecraft-israel/issues/new?template=historical_accuracy.yml) | [Discussions](https://github.com/eyalgolan/statecraft-israel/discussions) | [Changelog](CHANGELOG.md)
## What is this?
+
You sit in the prime minister's chair from the founding of the state. Each turn you:
- appoint and replace real ministers such as David Ben-Gurion, Eliezer Kaplan and Moshe Sharett, inside a real coalition;
@@ -29,15 +38,16 @@ A deterministic C# simulation runs underneath. The same choices always give the
## What it looks like today
-<!-- Screenshots of the current build (M3), taken on 2026-10-10. -->
<p align="center">
<img src="docs/images/build-m3-map.jpg" alt="Current build: the terrain map of the coastal plain and Jerusalem with hex lines, settlement markers, the top bar and an event card" width="820">
</p>
<p align="center">
<img src="docs/images/build-m3-cabinet.jpg" alt="Current build: the Cabinet screen listing the Provisional Government's ministers with portraits" width="405">
<img src="docs/images/build-m3-why.jpg" alt="Current build: the Why panel explaining a turn's changes" width="405">
+ <br><em>Real screenshots from build 0.1.0 (M3), 2026-10-10.</em>
</p>
+
## Is this any good?
It is an early, honest prototype.
@@ -74,13 +84,19 @@ There is no hosted build yet; one is planned for M4. To run it locally:
3. Build the web version. The command is in [docs/dev-setup.md](docs/dev-setup.md).
4. Run `python3 -m http.server 8000 --directory unity/Builds/Web-disabled`, then open http://localhost:8000/.
+The exact commands are in [BUILDING.md](BUILDING.md).
+
+
## History, sources and accuracy
-- Every event, minister, date and number in `content/` carries `sources:` with URLs and check dates.
+- Every event, minister, date and number in `content/` carries `sources:` with URLs and check dates. Wikipedia (English and Hebrew) is a primary cited source for many facts, which is why `content/` is CC BY-SA 4.0.
+- The model behind the game, and its framing, embed assumptions. It is not neutral, and this page says so.
+
- No quotes are invented. Text paraphrases its sources.
- The framing is Israeli. Contested narratives are not presented as parallel accounts.
-- Events about war, terror and the Holocaust are tagged sensitive. They get a sensitivity review before any build is shared.
-- Found an error? Open an issue with a source. A claim without a source can't be acted on.
+- Events about war, terror and the Holocaust are tagged sensitive. They get a sensitivity review before any build is shared, and the build tools refuse to package until it is recorded. Historian review is planned for M4.
+- Found an error? Use the [historical error form](.github/ISSUE_TEMPLATE/historical_accuracy.yml). It asks for a source, because a claim without one can't be acted on. The full rules: [docs/CONTENT_POLICY.md](docs/CONTENT_POLICY.md).
+
## Contributing
@@ -93,13 +109,21 @@ Help is very welcome:
Before you start:
- Read [docs/dev-setup.md](docs/dev-setup.md).
-- Run the tests: `dotnet test sim/Statecraft.sln`, the tools tests, and Unity EditMode.
+- Run the tests listed in [CONTRIBUTING.md](CONTRIBUTING.md).
+
- Keep game rules in the sim, not in Unity.
Start with **[CONTRIBUTING.md](CONTRIBUTING.md)**. There's no CLA: contributions come in under the repo's licences.
+Looking for a first task? Browse the [good first issue](https://github.com/eyalgolan/statecraft-israel/labels/good%20first%20issue) and [help wanted](https://github.com/eyalgolan/statecraft-israel/labels/help%20wanted) filters, or the [open issues](https://github.com/eyalgolan/statecraft-israel/issues) (#1 to #13 are ready-to-pick tasks: research, content, design, translation and tests).
+
+## Build from source
+
+You need Unity **6000.3.25f1 (6.3 LTS)** with Web Build Support; the exact version is in [`unity/ProjectSettings/ProjectVersion.txt`](unity/ProjectSettings/ProjectVersion.txt). Clone, run `tools/build_sim_for_unity.sh`, add `unity/` in Unity Hub and open `Assets/Map.unity`. The batch build, the tests and the browser check are in [BUILDING.md](BUILDING.md).
+
## AI use
+
This project is built with heavy AI assistance, disclosed here using itch.io's categories:
- **Code:** written with AI coding agents and reviewed through tests and review gates.
- **Graphics:** the concept and promo images in `promo/` are AI-generated. The game's terrain comes from real elevation data. The portraits are public-domain photographs.
@@ -118,6 +142,9 @@ Nothing is generated live while you play.
Details are in [LICENSING.md](LICENSING.md).
-## Credits
+## Community and credits
+
+Questions and ideas go in [Discussions](https://github.com/eyalgolan/statecraft-israel/discussions); bugs and historical errors go in the [issue tracker](https://github.com/eyalgolan/statecraft-israel/issues). Report security problems privately ([SECURITY.md](SECURITY.md)). [CODE_OF_CONDUCT.md](CODE_OF_CONDUCT.md) applies everywhere.
Created by Eyal Golan. Source credits live with each fact in `content/`, and the portrait credits are in `content/people.yaml`.
+
diff --git a/scripts/oss/tests/test_readme.py b/scripts/oss/tests/test_readme.py
new file mode 100644
index 000000000..820151010
--- /dev/null
+++ b/scripts/oss/tests/test_readme.py
@@ -0,0 +1,129 @@
+import re
+from pathlib import Path
+
+ROOT = Path(__file__).resolve().parents[3]
+HERO = "docs/images/hero-concept-1936.jpg"
+GRID = ["docs/images/build-m3-map.jpg", "docs/images/build-m3-cabinet.jpg", "docs/images/build-m3-why.jpg"]
+
+
+def read(rel: str) -> str:
+ return (ROOT / rel).read_text(encoding="utf-8")
+
+
+def images(text: str) -> list[str]:
+ return [a or b for a, b in re.findall(r'<img src="([^"]+)"|!\[[^\]]*\]\(([^)]+)\)', text)
+ if not (a or b).startswith("https://img.shields.io")]
+
+
+def section(text: str, heading: str) -> str:
+ return text.split(heading, 1)[1].split("\n## ", 1)[0]
+
+
+def test_language_bar_comes_first():
+ first = read("README.md").lstrip().splitlines()[0]
+ assert "English" in first and "README.he.md" in first
+
+
+def test_hero_is_the_first_image_captioned_as_concept_art_in_alt_and_caption():
+ text = read("README.md")
+ assert images(text)[0] == HERO
+ tag = re.search(rf'<img src="{re.escape(HERO)}"[^>]*>', text, re.S).group(0)
+ assert "AI-generated concept art" in tag and "not the current build" in tag
+ after = text.split(tag, 1)[1][:600]
+ assert "Concept art (AI-generated)" in after and "set in 1936" in after and "not the current build" in after
+
+
+def test_real_dated_screenshots_in_a_one_plus_two_grid():
+ text = read("README.md")
+ assert images(text)[1:4] == GRID
+ for path, width in zip(GRID, ("820", "405", "405")):
+ assert re.search(rf'<img src="{re.escape(path)}"[^>]*width="{width}"', text), path
+ assert re.search(r"Real screenshots from build \d+\.\d+\.\d+ \(M3\), \d{4}-\d{2}-\d{2}\.", text)
+
+
+def test_note_says_independent_and_planned_commercial_before_what_is_this():
+ text = read("README.md")
+ note = text.index("> [!NOTE]")
+ assert note < text.index("## What is this?")
+ block = text[note:note + 600]
+ assert "not affiliated with or endorsed by" in block and "any person depicted" in block
+ assert "commercial edition is planned" in block and "non-commercial" not in text
+
+
+def test_link_bar_routes_errors_to_the_form():
+ text = read("README.md")
+ assert "template=historical_accuracy.yml" in text.split("## What is this?", 1)[0]
+
+
+def test_history_section_is_accurate():
+ hist = section(read("README.md"), "## History, sources and accuracy")
+ assert "historical_accuracy.yml" in hist and "docs/CONTENT_POLICY.md" in hist and "not neutral" in hist
+ assert "Wikipedia" in hist and "Historian review is planned for M4" in hist
+ assert "DRAFT" not in read("README.md") # review I3: no such stamp exists
+
+
+def test_play_is_run_locally_with_hosted_build_planned_for_m4():
+ play = section(read("README.md"), "## Play")
+ assert "planned for M4" in play and "BUILDING.md" in play and "TODO" not in read("README.md")
+
+
+def test_build_section_pins_unity_and_points_to_building():
+ build = section(read("README.md"), "## Build from source")
+ assert "6000.3.25f1" in build and "unity/ProjectSettings/ProjectVersion.txt" in build and "BUILDING.md" in build
+
+
+def test_ai_use_uses_itch_categories():
+ ai = section(read("README.md"), "## AI use")
+ for cat in ("Code", "Graphics", "Text", "Sound"):
+ assert f"**{cat}:**" in ai, cat
+
+
+def test_no_counts_in_building_prose():
+ assert "five commands" not in read("BUILDING.md") and "five commands" not in read("README.md")
+
+
+def test_every_local_link_and_image_exists():
+ for rel in ("README.md", "README.he.md", "BUILDING.md", "CONTRIBUTING.md"):
+ text = read(rel)
+ targets = re.findall(r'\]\(([^)#\s]+)', text) + re.findall(r'(?:src|href)="([^"#]+)"', text)
+ local = [t for t in targets if not t.startswith(("http://", "https://", "mailto:"))]
+ missing = [t for t in local if not (ROOT / t).exists()]
+ assert not missing, (rel, missing)
+
+
+def test_hebrew_readme_is_rtl_and_names_english_as_authoritative():
+ he = read("README.he.md")
+ assert he.lstrip().splitlines()[0].startswith("[English](README.md)")
+ assert he.count('<div dir="rtl">') >= 2
+ assert he.count("<div") == he.count("</div>")
+ assert "הנוסח האנגלי" in he and images(he)[:4] == [HERO, *GRID]
+
+
+def test_images_are_web_sized_and_the_original_stays():
+ for p in (ROOT / "docs/images").glob("*.jpg"):
+ assert p.stat().st_size < 1_000_000, p.name
+ assert (ROOT / "promo/final/03-gameplay-1936.png").is_file()
+
+
+def test_building_names_contributing_headings_that_exist():
+ building, contributing = read("BUILDING.md"), read("CONTRIBUTING.md")
+ for heading in ("Rules every change follows", "What CI runs"):
+ assert f'"{heading}"' in building and f"## {heading}" in contributing, heading
+
+
+def test_contributing_links_the_issue_filters_and_the_open_issues():
+ text = section(read("README.md"), "## Contributing")
+ for url in ("https://github.com/eyalgolan/statecraft-israel/labels/good%20first%20issue",
+ "https://github.com/eyalgolan/statecraft-israel/labels/help%20wanted",
+ "https://github.com/eyalgolan/statecraft-israel/issues"):
+ assert url in text, url
+ assert "#1 to #13" in text
+
+
+def test_hebrew_readme_keeps_the_english_facts():
+ he = read("README.he.md")
+ for fact in ("15 במאי 1948", "M3", "0.1.0", "2026-10-10", "M4", "CC BY-SA 4.0", "CC0", "Firaxis", "2K", "1936",
+ "6000.3.25f1", "docs/CONTENT_POLICY.md", "historical_accuracy.yml", "SECURITY.md"):
+ assert fact in he, fact
+ assert "מסחרית" in he # a commercial edition is planned
+ assert "אינו ניטרלי" in he or "לא ניטרלי" in he # "not neutral"