A Civilization-style strategy game about governing Israel from 15 May 1948. Real ministers, real map, every fact sourced. Unity + deterministic C# sim.
site: the Play page links the itch.io build (v0.1.3), and the version in the page data (#1252)
Eyal Golanbb2d3c73f50e
diff --git a/.github/workflows/site.yml b/.github/workflows/site.ymlindex 1ad7c0b6c..b8a2985fc 100644--- a/.github/workflows/site.yml+++ b/.github/workflows/site.yml@@ -9,9 +9,9 @@ name: Siteon:push:branches: [main]- paths: ["site/**", "content/**", "docs/images/**", "docs/sources/**", "promo/final/**", "unity/Assets/UI/EventImages/**", "unity/Assets/UI/Portraits/**", "ASSETS.yaml", "ASSETS.portraits.yaml", "README.md", "README.he.md", ".github/workflows/site.yml"]+ paths: ["site/**", "content/**", "docs/images/**", "docs/sources/**", "promo/final/**", "unity/Assets/UI/EventImages/**", "unity/Assets/UI/Portraits/**", "unity/ProjectSettings/ProjectSettings.asset", "ASSETS.yaml", "ASSETS.portraits.yaml", "README.md", "README.he.md", ".github/workflows/site.yml"]pull_request:- paths: ["site/**", "content/**", "docs/images/**", "docs/sources/**", "promo/final/**", "unity/Assets/UI/EventImages/**", "unity/Assets/UI/Portraits/**", "ASSETS.yaml", "ASSETS.portraits.yaml", "README.md", "README.he.md", ".github/workflows/site.yml"]+ paths: ["site/**", "content/**", "docs/images/**", "docs/sources/**", "promo/final/**", "unity/Assets/UI/EventImages/**", "unity/Assets/UI/Portraits/**", "unity/ProjectSettings/ProjectSettings.asset", "ASSETS.yaml", "ASSETS.portraits.yaml", "README.md", "README.he.md", ".github/workflows/site.yml"]workflow_dispatch:permissions:diff --git a/site/src/content/en/how-we-make-it.md b/site/src/content/en/how-we-make-it.mdindex a70db1ee1..d32aa64df 100644--- a/site/src/content/en/how-we-make-it.md+++ b/site/src/content/en/how-we-make-it.md@@ -5,7 +5,7 @@ This project is built with heavy AI assistance. Here is what that means, in itch- **Code:** written with AI coding agents and reviewed through tests and review gates.- **Graphics:** the concept and promo images are AI-generated, and the cinematic trailer was made from them with AI video tools. The start-screen painting is AI-generated and shows no identifiable person. The 3D models are by Tal Heuberger, made with Tripo Studio. The tab icons were drawn with AI help.- **Text:** event and content text was drafted with AI, and every fact is checked against the cited source.-- **Sound:** none in the game yet. The cinematic trailer has music; its source is awaiting the owner's check.+- **Sound:** the game's three short sound effects (turn ended, refused order, event card) were made with ElevenLabs, and the cinematic trailer's music is AI-generated (ElevenLabs Music).Nothing is generated live while you play.diff --git a/site/src/content/en/play.md b/site/src/content/en/play.mdindex 46521a52c..c294a2cef 100644--- a/site/src/content/en/play.md+++ b/site/src/content/en/play.md@@ -1,4 +1,4 @@-There is no hosted build yet. For now the game runs from source on your own machine.+Play it in your browser on [itch.io](https://eyalgolan.itch.io/statecraft-israel), or run it from source on your own machine.## Run it yourselfdiff --git a/site/src/content/en/press.md b/site/src/content/en/press.mdindex 41bdc3aa0..ac4ec8559 100644--- a/site/src/content/en/press.md+++ b/site/src/content/en/press.md@@ -1,7 +1,7 @@## Factsheet- **Developer:** Eyal Golan and the Statecraft: Israel contributors. An independent open-source project.-- **Status:** an early prototype, playable from 1948 to 1951 when built from source. No hosted build yet.+- **Status:** an early prototype, playable from 1948 to 1951 in your browser on [itch.io](https://eyalgolan.itch.io/statecraft-israel).- **Platform:** web browser (WebGL), built with Unity 6000.3.25f1.- **Price:** free and open source. The game is non-commercial.- **Licences:** code MIT; original art and docs CC BY 4.0; game content CC BY-SA 4.0; AI-generated images CC0, with no rights claimed.diff --git a/site/src/content/he/how-we-make-it.md b/site/src/content/he/how-we-make-it.mdindex a83a6bed3..8bf96228d 100644--- a/site/src/content/he/how-we-make-it.md+++ b/site/src/content/he/how-we-make-it.md@@ -5,7 +5,7 @@- **קוד:** נכתב עם סוכני קוד של בינה מלאכותית ונבדק בבדיקות אוטומטיות ובסקירות קוד.- **גרפיקה:** תמונות הקונספט והפרומו נוצרו בבינה מלאכותית, והטריילר הקולנועי נוצר מהן בכלי וידאו של בינה מלאכותית. הציור במסך הפתיחה נוצר בבינה מלאכותית, ואין בו אדם שאפשר לזהות. מודלי התלת־ממד הם של טל הויברגר, ונעשו ב־Tripo Studio. סמלי הלשוניות צוירו בסיוע בינה מלאכותית.- **טקסט:** טקסט האירועים והתוכן נוסח בסיוע בינה מלאכותית, וכל עובדה בו נבדקת מול המקור המצוטט.-- **סאונד:** אין עדיין במשחק. בטריילר הקולנועי יש מוזיקה, והמקור שלה ממתין לבדיקת הבעלים.+- **סאונד:** שלושת אפקטי הקול הקצרים במשחק (סיום תור, פקודה שנדחתה, כרטיס אירוע) נוצרו ב־ElevenLabs, והמוזיקה בטריילר הקולנועי נוצרה בבינה מלאכותית (ElevenLabs Music).דבר אינו נוצר בזמן אמת במהלך המשחק.diff --git a/site/src/content/he/play.md b/site/src/content/he/play.mdindex 8478809e0..88b208164 100644--- a/site/src/content/he/play.md+++ b/site/src/content/he/play.md@@ -1,4 +1,4 @@-עדיין אין גרסה מתארחת. בינתיים מריצים את המשחק מקוד המקור, במחשב שלכם.+אפשר לשחק בדפדפן ב־[itch.io](https://eyalgolan.itch.io/statecraft-israel), או להריץ את המשחק מקוד המקור, במחשב שלכם.## להריץ בעצמכםdiff --git a/site/src/content/he/press.md b/site/src/content/he/press.mdindex 73aed556d..807ceae2b 100644--- a/site/src/content/he/press.md+++ b/site/src/content/he/press.md@@ -1,7 +1,7 @@## דף נתונים- **מפתח:** <span lang="en" dir="ltr">Eyal Golan</span> והתורמים ל־Statecraft: Israel. פרויקט קוד פתוח עצמאי.-- **מצב:** אב־טיפוס מוקדם. אפשר לשחק בשנים 1948 עד 1951 כשבונים מקוד המקור. עדיין אין גרסה מתארחת.+- **מצב:** אב־טיפוס מוקדם. אפשר לשחק בשנים 1948 עד 1951 בדפדפן, ב־[itch.io](https://eyalgolan.itch.io/statecraft-israel).- **פלטפורמה:** דפדפן (WebGL), נבנה ב־<span dir="ltr">Unity 6000.3.25f1</span>.- **מחיר:** חינם, קוד פתוח. המשחק אינו מסחרי.- **רישיונות:** קוד: MIT; אמנות ומסמכים מקוריים: CC BY 4.0; תוכן המשחק: CC BY-SA 4.0; תמונות שנוצרו בבינה מלאכותית: CC0, ללא טענת זכויות.diff --git a/site/src/lib/repo.ts b/site/src/lib/repo.tsindex 3d50e8e49..088ae98ba 100644--- a/site/src/lib/repo.ts+++ b/site/src/lib/repo.ts@@ -15,6 +15,14 @@ export const repoRoot = findRoot();const read = (rel: string) => fs.readFileSync(path.join(repoRoot, rel), 'utf8');const readYaml = (rel: string) => YAML.parse(read(rel));+/** The game's version: Unity's bundleVersion, which the release bumps and the release tag must match (docs/RELEASING.md+ * step 2, tools/release_build.py). */+export function gameVersion(): string {+ const m = read('unity/ProjectSettings/ProjectSettings.asset').match(/^\s*bundleVersion:\s*(\S+)/m);+ if (!m) throw new Error('site: unity/ProjectSettings/ProjectSettings.asset has no bundleVersion');+ return m[1];+}+export interface Source { url: string; checked?: string; note?: string }export interface Option { id: string; text: string; historical?: boolean }export interface GameEvent {diff --git a/site/src/pages/[lang]/index.astro b/site/src/pages/[lang]/index.astroindex 115149df7..a2a1ba116 100644--- a/site/src/pages/[lang]/index.astro+++ b/site/src/pages/[lang]/index.astro@@ -8,6 +8,7 @@ import ContributorsGrid from '../../components/ContributorsGrid.astro';import { type Lang, languages, href, t, REPO, formatDate, asset } from '../../i18n/ui';import { capture, concept, flythrough, trailer, gameplay, gameplayVideo, captureDateIso, heroShot } from '../../lib/media';import { posts } from '../../lib/devlog';+import { gameVersion } from '../../lib/repo';export const getStaticPaths = () => languages.map((lang) => ({ params: { lang } }));const lang = Astro.params.lang as Lang;@@ -39,7 +40,7 @@ const jsonLd = {applicationCategory: 'Game',operatingSystem: 'Web browser',inLanguage: 'en',- softwareVersion: '0.1.0',+ softwareVersion: gameVersion(),author: { '@type': 'Person', name: 'Eyal Golan' },license: 'https://opensource.org/licenses/MIT',sameAs: [REPO],