A Civilization-style strategy game about governing Israel from 15 May 1948. Real ministers, real map, every fact sourced. Unity + deterministic C# sim.
// Headless checks only: the sim tests and the repo policy checks. No Unity. See .devcontainer/README.md.
{
"name": "Statecraft: Israel (headless checks)",
"build": { "dockerfile": "Dockerfile" },
"features": {
// .NET SDK 10.0.401: the `dotnet-version` in .github/workflows/ci.yml. The sim targets net10.0
// (sim/Statecraft.Sim and sim/Statecraft.Cli csproj files). There is no global.json, so CI is the source of truth.
"ghcr.io/devcontainers/features/dotnet:2.5.0": {
"version": "10.0.401"
},
// Python: Ubuntu 24.04's own python3 (3.12), the same one the ubuntu-24.04 runner CI uses. UV_PYTHON below is
// CI's value. Every script declares `requires-python = ">=3.11"`. uv runs the scripts, so no extra Python tools.
"ghcr.io/devcontainers/features/python:1.8.0": {
"version": "os-provided",
"installTools": false
},
// SSH server: `gh codespace ssh` needs it, so agents and CLI users can run the headless checks.
"ghcr.io/devcontainers/features/sshd:1.1.0": {}
},
// git comes with the base image. uv 0.12.5 is installed in the Dockerfile.
// Restore the solution so `dotnet test` starts from a warm cache.
"postCreateCommand": "dotnet restore sim/Statecraft.sln",
"remoteEnv": {
"DOTNET_CLI_TELEMETRY_OPTOUT": "1",
"DOTNET_NOLOGO": "1",
"UV_PYTHON": "3.12"
}
}