No description
Find a file
Natalie fbe3b24329 fix(auto-play): fix missing start positions by scanning for land tiles
The map generator's start position selection returns empty on some maps.
When detected, spread players across available land tiles and relocate
their units to the assigned positions.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-12 14:19:32 -07:00
.ai-arena-test test(ai-arena): Add test environment directory for AI Arena testing 2026-04-10 20:37:09 -07:00
.claude docs(memory): 📝 Update non-regression testing documentation to define clear feedback expectations and best practices for preventing regressions 2026-04-10 09:32:13 -07:00
.out-of-scope feat(game-data): Implement comprehensive ecological simulation with biome systems, terrain definitions, and flora/fauna models 2026-04-07 17:52:04 -07:00
.playwright-mcp test(playwright): Regenerate Playwright test snapshots for 189 pages/components 2026-04-07 17:51:22 -07:00
.project wip: travel backup — arena fixes, happiness system, items, spells 2026-04-12 11:24:17 -07:00
engine/addons/magic_civ_physics feat(game-data): Implement comprehensive ecological simulation with biome systems, terrain definitions, and flora/fauna models 2026-04-07 17:52:04 -07:00
public wip: travel backup — arena fixes, happiness system, items, spells 2026-04-12 11:24:17 -07:00
scripts fix(macos): Fix GDExtension loading and class_name resolution for fresh macOS checkouts 2026-04-12 12:55:33 -07:00
src fix(auto-play): fix missing start positions by scanning for land tiles 2026-04-12 14:19:32 -07:00
tools wip: travel backup — arena fixes, happiness system, items, spells 2026-04-12 11:24:17 -07:00
.gdlintrc wip: travel backup — arena fixes, happiness system, items, spells 2026-04-12 11:24:17 -07:00
.gitignore
.gutconfig.json
.pnpmfile.cjs
aod_bears_retiered.png ui(assets): 💄 Update game UI assets with refreshed visuals for evolution maps, encyclopedia screens, and simulation interfaces 2026-04-07 17:51:30 -07:00
aod_canines.png ui(assets): 💄 Update game UI assets with refreshed visuals for evolution maps, encyclopedia screens, and simulation interfaces 2026-04-07 17:51:30 -07:00
aod_canines_retiered.png ui(assets): 💄 Update game UI assets with refreshed visuals for evolution maps, encyclopedia screens, and simulation interfaces 2026-04-07 17:51:30 -07:00
aod_evolution_map_default.png ui(assets): 💄 Update game UI assets with refreshed visuals for evolution maps, encyclopedia screens, and simulation interfaces 2026-04-07 17:51:30 -07:00
aod_felids_retiered.png ui(assets): 💄 Update game UI assets with refreshed visuals for evolution maps, encyclopedia screens, and simulation interfaces 2026-04-07 17:51:30 -07:00
aod_freefolk_dwarves.png ui(assets): 💄 Update game UI assets with refreshed visuals for evolution maps, encyclopedia screens, and simulation interfaces 2026-04-07 17:51:30 -07:00
aod_lens_canines.png ui(assets): 💄 Update game UI assets with refreshed visuals for evolution maps, encyclopedia screens, and simulation interfaces 2026-04-07 17:51:30 -07:00
aod_lens_canines_2.png ui(assets): 💄 Update game UI assets with refreshed visuals for evolution maps, encyclopedia screens, and simulation interfaces 2026-04-07 17:51:30 -07:00
aod_lens_canines_scrolled.png ui(assets): 💄 Update game UI assets with refreshed visuals for evolution maps, encyclopedia screens, and simulation interfaces 2026-04-07 17:51:30 -07:00
aod_lens_canines_t8.png ui(assets): 💄 Update game UI assets with refreshed visuals for evolution maps, encyclopedia screens, and simulation interfaces 2026-04-07 17:51:30 -07:00
aod_lens_default.png ui(assets): 💄 Update game UI assets with refreshed visuals for evolution maps, encyclopedia screens, and simulation interfaces 2026-04-07 17:51:30 -07:00
aod_raptors_retiered.png ui(assets): 💄 Update game UI assets with refreshed visuals for evolution maps, encyclopedia screens, and simulation interfaces 2026-04-07 17:51:30 -07:00
aod_snapshot.md ui(assets): 💄 Update game UI assets with refreshed visuals for evolution maps, encyclopedia screens, and simulation interfaces 2026-04-07 17:51:30 -07:00
CLAUDE.md docs(claud-docs): 📝 Update AI architecture documentation in CLAUDE.md to clarify Rust/GDScript boundaries and implementation details 2026-04-10 19:45:17 -07:00
climate-fix-check.png
climate-sim-1.png
climate-sim-2.png
climate-sim-3.png
climate-sim-4.png
climate-sim-check.png
climate-sim-final.png
climate-sim-fixed.png
early-access-bottom.png ui(assets): 💄 Update game UI assets with refreshed visuals for evolution maps, encyclopedia screens, and simulation interfaces 2026-04-07 17:51:30 -07:00
early-access-current.png ui(assets): 💄 Update game UI assets with refreshed visuals for evolution maps, encyclopedia screens, and simulation interfaces 2026-04-07 17:51:30 -07:00
early-access-updated.png ui(assets): 💄 Update game UI assets with refreshed visuals for evolution maps, encyclopedia screens, and simulation interfaces 2026-04-07 17:51:30 -07:00
earth-42vh.png ui(assets): 💄 Update game UI assets with refreshed visuals for evolution maps, encyclopedia screens, and simulation interfaces 2026-04-07 17:51:30 -07:00
earth-charts-visible.png ui(assets): 💄 Update game UI assets with refreshed visuals for evolution maps, encyclopedia screens, and simulation interfaces 2026-04-07 17:51:30 -07:00
earth-fixed.png ui(assets): 💄 Update game UI assets with refreshed visuals for evolution maps, encyclopedia screens, and simulation interfaces 2026-04-07 17:51:30 -07:00
earth-normal-mode.png ui(assets): 💄 Update game UI assets with refreshed visuals for evolution maps, encyclopedia screens, and simulation interfaces 2026-04-07 17:51:30 -07:00
earth-scrolled-down.png ui(assets): 💄 Update game UI assets with refreshed visuals for evolution maps, encyclopedia screens, and simulation interfaces 2026-04-07 17:51:30 -07:00
earth-scrolled-stats.png ui(assets): 💄 Update game UI assets with refreshed visuals for evolution maps, encyclopedia screens, and simulation interfaces 2026-04-07 17:51:30 -07:00
earth-scrolled.png ui(assets): 💄 Update game UI assets with refreshed visuals for evolution maps, encyclopedia screens, and simulation interfaces 2026-04-07 17:51:30 -07:00
earth-with-stats.png ui(assets): 💄 Update game UI assets with refreshed visuals for evolution maps, encyclopedia screens, and simulation interfaces 2026-04-07 17:51:30 -07:00
enc-arctic-fox-modal.png ui(assets): 💄 Update game UI assets with refreshed visuals for evolution maps, encyclopedia screens, and simulation interfaces 2026-04-07 17:51:30 -07:00
enc-arctic-fox.png ui(assets): 💄 Update game UI assets with refreshed visuals for evolution maps, encyclopedia screens, and simulation interfaces 2026-04-07 17:51:30 -07:00
enc-audit-home.png ui(assets): 💄 Update game UI assets with refreshed visuals for evolution maps, encyclopedia screens, and simulation interfaces 2026-04-07 17:51:30 -07:00
enc-combat-filter.png ui(assets): 💄 Update game UI assets with refreshed visuals for evolution maps, encyclopedia screens, and simulation interfaces 2026-04-07 17:51:30 -07:00
enc-concept-modal.png ui(assets): 💄 Update game UI assets with refreshed visuals for evolution maps, encyclopedia screens, and simulation interfaces 2026-04-07 17:51:30 -07:00
enc-first-forge.png ui(assets): 💄 Update game UI assets with refreshed visuals for evolution maps, encyclopedia screens, and simulation interfaces 2026-04-07 17:51:30 -07:00
enc-fox-stats.png ui(assets): 💄 Update game UI assets with refreshed visuals for evolution maps, encyclopedia screens, and simulation interfaces 2026-04-07 17:51:30 -07:00
encyclopedia-302-clean.png ui(assets): 💄 Update game UI assets with refreshed visuals for evolution maps, encyclopedia screens, and simulation interfaces 2026-04-07 17:51:30 -07:00
encyclopedia-after-reload.png ui(assets): 💄 Update game UI assets with refreshed visuals for evolution maps, encyclopedia screens, and simulation interfaces 2026-04-07 17:51:30 -07:00
encyclopedia-alias-glob.png ui(assets): 💄 Update game UI assets with refreshed visuals for evolution maps, encyclopedia screens, and simulation interfaces 2026-04-07 17:51:30 -07:00
encyclopedia-detail-bottom.png ui(assets): 💄 Update game UI assets with refreshed visuals for evolution maps, encyclopedia screens, and simulation interfaces 2026-04-07 17:51:30 -07:00
encyclopedia-detail-combat.png ui(assets): 💄 Update game UI assets with refreshed visuals for evolution maps, encyclopedia screens, and simulation interfaces 2026-04-07 17:51:30 -07:00
encyclopedia-embedded.png ui(assets): 💄 Update game UI assets with refreshed visuals for evolution maps, encyclopedia screens, and simulation interfaces 2026-04-07 17:51:30 -07:00
encyclopedia-full-page.png ui(assets): 💄 Update game UI assets with refreshed visuals for evolution maps, encyclopedia screens, and simulation interfaces 2026-04-07 17:51:30 -07:00
encyclopedia-populated.png ui(assets): 💄 Update game UI assets with refreshed visuals for evolution maps, encyclopedia screens, and simulation interfaces 2026-04-07 17:51:30 -07:00
encyclopedia-registry-working.png ui(assets): 💄 Update game UI assets with refreshed visuals for evolution maps, encyclopedia screens, and simulation interfaces 2026-04-07 17:51:30 -07:00
encyclopedia-registry.png ui(assets): 💄 Update game UI assets with refreshed visuals for evolution maps, encyclopedia screens, and simulation interfaces 2026-04-07 17:51:30 -07:00
encyclopedia-restarted.png ui(assets): 💄 Update game UI assets with refreshed visuals for evolution maps, encyclopedia screens, and simulation interfaces 2026-04-07 17:51:30 -07:00
encyclopedia-search-warrior.png ui(assets): 💄 Update game UI assets with refreshed visuals for evolution maps, encyclopedia screens, and simulation interfaces 2026-04-07 17:51:30 -07:00
encyclopedia-warrior-modal.png ui(assets): 💄 Update game UI assets with refreshed visuals for evolution maps, encyclopedia screens, and simulation interfaces 2026-04-07 17:51:30 -07:00
evolution-aquatic-insects.png ui(assets): 💄 Update game UI assets with refreshed visuals for evolution maps, encyclopedia screens, and simulation interfaces 2026-04-07 17:51:30 -07:00
evolution-arachnids.png ui(assets): 💄 Update game UI assets with refreshed visuals for evolution maps, encyclopedia screens, and simulation interfaces 2026-04-07 17:51:30 -07:00
evolution-canines.png ui(assets): 💄 Update game UI assets with refreshed visuals for evolution maps, encyclopedia screens, and simulation interfaces 2026-04-07 17:51:30 -07:00
evolution-frogs-toads.png ui(assets): 💄 Update game UI assets with refreshed visuals for evolution maps, encyclopedia screens, and simulation interfaces 2026-04-07 17:51:30 -07:00
export_presets.cfg
full-game-final.png ui(assets): 💄 Update game UI assets with refreshed visuals for evolution maps, encyclopedia screens, and simulation interfaces 2026-04-07 17:51:30 -07:00
full-game-page-bottom.png ui(assets): 💄 Update game UI assets with refreshed visuals for evolution maps, encyclopedia screens, and simulation interfaces 2026-04-07 17:51:30 -07:00
full-game-page-bottom2.png ui(assets): 💄 Update game UI assets with refreshed visuals for evolution maps, encyclopedia screens, and simulation interfaces 2026-04-07 17:51:30 -07:00
full-game-page-updated.png ui(assets): 💄 Update game UI assets with refreshed visuals for evolution maps, encyclopedia screens, and simulation interfaces 2026-04-07 17:51:30 -07:00
gdformatrc
gdlintrc wip: travel backup — arena fixes, happiness system, items, spells 2026-04-12 11:24:17 -07:00
lairs-filter-bar.png ui(assets): 💄 Update game UI assets with refreshed visuals for evolution maps, encyclopedia screens, and simulation interfaces 2026-04-07 17:51:30 -07:00
lairs-page-tierrange.png ui(assets): 💄 Update game UI assets with refreshed visuals for evolution maps, encyclopedia screens, and simulation interfaces 2026-04-07 17:51:30 -07:00
network.txt feat(network-sim): Introduce new simulation states and update network config for improved logic 2026-04-01 04:25:57 -07:00
nogui-final.png ui(assets): 💄 Update game UI assets with refreshed visuals for evolution maps, encyclopedia screens, and simulation interfaces 2026-04-07 17:51:30 -07:00
pnpm-lock.yaml fix(macos): Fix GDExtension loading and class_name resolution for fresh macOS checkouts 2026-04-12 12:55:33 -07:00
pnpm-workspace.yaml chore(config): 🔧 Update pnpm workspace settings and gdlintrc linting rules 2026-04-07 17:51:23 -07:00
README.md docs(docs): 📝 Introduce architectural patterns and data models in README.md and CLAUDE.md 2026-04-07 17:51:23 -07:00
run
sheets-page.png ui(assets): 💄 Update game UI assets with refreshed visuals for evolution maps, encyclopedia screens, and simulation interfaces 2026-04-07 17:51:30 -07:00
sheets-skeleton.png ui(assets): 💄 Update game UI assets with refreshed visuals for evolution maps, encyclopedia screens, and simulation interfaces 2026-04-07 17:51:30 -07:00
sim-30s.png ui(assets): 💄 Update game UI assets with refreshed visuals for evolution maps, encyclopedia screens, and simulation interfaces 2026-04-07 17:51:30 -07:00
sim-after-10s.png ui(assets): 💄 Update game UI assets with refreshed visuals for evolution maps, encyclopedia screens, and simulation interfaces 2026-04-07 17:51:30 -07:00
sim-after-90s.png ui(assets): 💄 Update game UI assets with refreshed visuals for evolution maps, encyclopedia screens, and simulation interfaces 2026-04-07 17:51:30 -07:00
sim-after-fix.png feat(network-sim): Introduce new simulation states and update network config for improved logic 2026-04-01 04:25:57 -07:00
sim-after-wait.png feat(network-sim): Introduce new simulation states and update network config for improved logic 2026-04-01 04:25:57 -07:00
sim-check.png ui(assets): 💄 Update game UI assets with refreshed visuals for evolution maps, encyclopedia screens, and simulation interfaces 2026-04-07 17:51:30 -07:00
sim-check2.png ui(assets): 💄 Update game UI assets with refreshed visuals for evolution maps, encyclopedia screens, and simulation interfaces 2026-04-07 17:51:30 -07:00
sim-complete.png ui(assets): 💄 Update game UI assets with refreshed visuals for evolution maps, encyclopedia screens, and simulation interfaces 2026-04-07 17:51:30 -07:00
sim-debug.png docs(assets): 📝 Add sim-debug.png image asset for documentation use 2026-04-01 06:23:49 -07:00
sim-done.png ui(assets): 💄 Update game UI assets with refreshed visuals for evolution maps, encyclopedia screens, and simulation interfaces 2026-04-07 17:51:30 -07:00
sim-earth-check.png ui(assets): 💄 Update game UI assets with refreshed visuals for evolution maps, encyclopedia screens, and simulation interfaces 2026-04-07 17:51:30 -07:00
sim-equal-split.png ui(assets): 💄 Update game UI assets with refreshed visuals for evolution maps, encyclopedia screens, and simulation interfaces 2026-04-07 17:51:30 -07:00
sim-final-layout.png ui(assets): 💄 Update game UI assets with refreshed visuals for evolution maps, encyclopedia screens, and simulation interfaces 2026-04-07 17:51:30 -07:00
sim-final.png ui(assets): 💄 Update game UI assets with refreshed visuals for evolution maps, encyclopedia screens, and simulation interfaces 2026-04-07 17:51:30 -07:00
sim-initial.png ui(assets): 💄 Update game UI assets with refreshed visuals for evolution maps, encyclopedia screens, and simulation interfaces 2026-04-07 17:51:30 -07:00
sim-layout-check.png ui(assets): 💄 Update game UI assets with refreshed visuals for evolution maps, encyclopedia screens, and simulation interfaces 2026-04-07 17:51:30 -07:00
sim-layout-check2.png ui(assets): 💄 Update game UI assets with refreshed visuals for evolution maps, encyclopedia screens, and simulation interfaces 2026-04-07 17:51:30 -07:00
sim-layout-check3.png ui(assets): 💄 Update game UI assets with refreshed visuals for evolution maps, encyclopedia screens, and simulation interfaces 2026-04-07 17:51:30 -07:00
sim-layout-final.png ui(assets): 💄 Update game UI assets with refreshed visuals for evolution maps, encyclopedia screens, and simulation interfaces 2026-04-07 17:51:30 -07:00
sim-layout-verify.png ui(assets): 💄 Update game UI assets with refreshed visuals for evolution maps, encyclopedia screens, and simulation interfaces 2026-04-07 17:51:30 -07:00
sim-loading.png ui(assets): 💄 Update game UI assets with refreshed visuals for evolution maps, encyclopedia screens, and simulation interfaces 2026-04-07 17:51:30 -07:00
sim-nostart.png feat(network-sim): Introduce new simulation states and update network config for improved logic 2026-04-01 04:25:57 -07:00
sim-now.png ui(assets): 💄 Update game UI assets with refreshed visuals for evolution maps, encyclopedia screens, and simulation interfaces 2026-04-07 17:51:30 -07:00
sim-playback.png ui(assets): 💄 Update game UI assets with refreshed visuals for evolution maps, encyclopedia screens, and simulation interfaces 2026-04-07 17:51:30 -07:00
sim-playing.png ui(assets): 💄 Update game UI assets with refreshed visuals for evolution maps, encyclopedia screens, and simulation interfaces 2026-04-07 17:51:30 -07:00
sim-progress-2.png
sim-streaming.png ui(assets): 💄 Update game UI assets with refreshed visuals for evolution maps, encyclopedia screens, and simulation interfaces 2026-04-07 17:51:30 -07:00
spritegen.db

Magic Civilization

Fantasy 4X turn-based strategy game (Civ5 + Master of Magic + MTG color pie) in Godot 4 / GDScript.

Structure

engine/          — genre-agnostic game engine (GDScript)
  src/           — autoloads, entities, map, generation, modules, rendering
  scenes/        — Godot scenes (.tscn + .gd)
  docs/          — engine architecture docs

games/
  age-of-dwarves/   — fantasy game pack (the default theme)
    data/        — all JSON game content
    assets/      — sprites, icons
    docs/        — game design docs (races, combat, spells, economy)

guide/           — player guide web app (React/TypeScript)
  engine/        — @magic-civ/guide-engine (shared components)
  age-of-dwarves/   — guide pages for Age of Dwarves

packages/
  engine-ts/     — @magic-civ/engine-ts (auto-generated climate simulation)

tools/           — sprite generation, transpiler, screenshot capture

Docs

Engine (engine/docs/)

Doc Covers
ARCHITECTURE.md Project structure, autoloads, scene lifecycle
ABSTRACTION.md Genre-agnostic vocabulary, theme pack system
DATA_FORMAT.md JSON data schemas, DataLoader patterns

Game Design (public/games/age-of-dwarves/docs/)

Doc Covers
RACES.md 4 demo races, gendering, fusions, release schedule
ECONOMIC_SYSTEMS.md Economy, civic axis, capitalism cascade
GOVERNMENTS.md Government types and mechanics
GLOSSARY.md Term definitions
COMBAT_SYSTEM.md Combat mechanics (written when M8 is built)
SPELL_SYSTEM.md Spell/mana system (written when M9 is built)
ERA_SYSTEM.md Era progression (written when needed)

Build Process (.project/)

Doc Covers
ROADMAP.md Demo scope + 12-phase build sequence
FEATURE_GAP.md New systems beyond the reference implementation
tasks/m0-m4/ Milestone task lists with porting checklists

Quick Start

./run play          # Launch the game
./run editor        # Open Godot editor
./run lint          # gdlint engine/src/
./run test          # GUT tests headless
pnpm dev            # Serve the player guide