Skip to content

About

An open-source community simulation. Build, experiment and remix ways of living. Godot game with Astro and Tailwind docs.

Topics

Resources

Contributing

Stars

1 star

Watchers

0 watching

Forks

Repository files navigation

Courtyard Block

A small place. A shared life.

Play in your browser · Website · Documentation

A playable Godot foundation for experimenting with community life: shape a courtyard, furnish homes, meet residents, run a co-op, and compare alternative ways of living. Built with Godot 4.7.2, typed GDScript and Compatibility rendering. The website and documentation use Astro and Tailwind CSS, with GitHub Pages publishing the site and browser game together.

The original code and content are MIT licensed, copyright 2026 Christopher Smothers. See LICENSE, third-party notices and contributing.

Play

Start with your first experiment, or the full community lab guide. To build the public website locally or understand its deployment, read website and publishing.

Open project.godot in Godot and press F5, or run:

godot --path .

The default game is One seed. Three futures. Generate a community, lock and reroll its starting layers, then build alongside its residents. Preview room additions, move homes, replace walls and improve shared utilities. Guide, Collaborate and Let it grow share identical starting conditions and weather, with different delegated construction budgets. Read residents' proposals, protect cherished homes, advance a week and compare the results. Share a complete world or remix the data-only rules in Workshop. Start with the living-world guide.

The original Warm homes, shared systems annual lab is available from Workshop or godot --path . -- --lab. Its original runtime and saves remain separate. It supports fixed-design comparisons, a material workshop and imported hourly weather; see the annual lab guide.

The earlier An evening back scenario remains available from the lab's Workshop, or directly:

godot --path . -- --evening

Its groceries, cooking, service queues and personal-time experiments use a separate model and save. Read the evening guide.

The original 64-resident foundation sandbox is available separately:

godot --path . -- --foundation

That sandbox retains its original save and four bundled packs. Its controls are:

  • Drag the world to pan; scroll or pinch to zoom. Rotate, Q and E turn the camera.
  • Residents → choose someone → Visit their apartment → add a furnishing.
  • Build changes the footprint, courtyard, storeys, material or settlement template.
  • Co-op sets household contributions, shared suppers and shop tenants.
  • Experiments forks the community. Change a policy, simulate a week, switch branches and run the baseline for comparison. Unlimited funds are optional.
  • Mods shows installed packs and accepts trusted .cbmod.zip files. Restart to activate.
  • Space pauses. Every core action also has an on-screen control. Landscape phones use a section dropdown.

Legacy-mode saves are automatic every 30 seconds and on native app suspension/exit. Save community saves immediately. The evening's Try screen and the sandbox's Experiments screen include JSON import/export. They use separate save files. Back up browser saves with Export; private browsing and clearing site storage can remove local data. Missing or changed packs protect existing saves from replacement.

Develop and validate

python3 scripts/check.py
godot --path . -- --lab-smoke
godot --path . -- --evening-smoke
godot --path . -- --smoke
godot --path . -- --smoke --benchmark

The benchmark uses 150 residents, seven storeys, 5,000 extra batched objects and 10,000 extra catalogue entries. It runs at 20× simulation speed, discards 120 warm-up frames and reports the next 3,600 frames. It never replaces a community save.

flowchart LR
    Packs[JSON and trusted GDScript packs] --> Registry[Content and extension registry]
    Registry --> Model[Seeded data simulation]
    Commands[Player commands] --> Model
    Model --> State[Serializable community state]
    State --> View[Godot diorama and UI]
    State --> Saves[Save files and experiment forks]
    Registry --> View
Loading

Both simulation paths have no scene nodes. The annual lab compiles a coupled thermal network from pinned data packs; its UI and renderer consume results. In the original foundation model, layouts describe navigation graphs and spaces. Static geometry uses MultiMesh batches per floor, material and shape; resident routes are cached. A Rust extension can replace a measured bottleneck later without moving the game rules into rendering code.

See the annual lab and data API, the evening scenario, modding, foundation model assumptions, platform builds and validation, and the foundation checklist.

For the broader direction beyond the annual slice, read moddable community experiments grounded in physics and evidence: composable construction and institutions, sourced parameters, reproducible sharing, and year-to-century simulation limits.

This is a first playable foundation: procedural art, a deliberately small economic model, single-player, portable data mods in the annual lab, and trusted local code mods in the legacy sandbox. It is not a validated predictor of housing outcomes. Multiplayer, freeform architectural editing, production art/audio, a marketplace, app-store submission and a general custom-mesh importer remain future work.

About

An open-source community simulation. Build, experiment and remix ways of living. Godot game with Astro and Tailwind docs.

Topics

Resources

Contributing

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages