No description
Find a file
2026-03-26 00:14:20 -07:00
.claude docs(plans): 📝 Update and refine project planning documents in .claude/plans/ to reflect roadmap and strategic initiatives. 2026-03-25 23:53:20 -07:00
.playwright-mcp chore(playwright-playwright): 🔧 reset Playwright Multi-Context configuration and cache for test environment consistency 2026-03-25 22:48:51 -07:00
.project chore(climate-balance): 🔧 Implement climate-balance validation tasks in CI/CD workflows 2026-03-25 23:53:20 -07:00
addons/gut feat(addons-specific): Introduce modular addons framework for extensibility 2026-03-25 22:48:51 -07:00
engine test(ecology): Add/fix test cases for golden vectors to validate edge cases and reference inputs in the ecology module 2026-03-26 00:14:19 -07:00
games chore(age-four): 🔧 Update climate simulation parameters in climate_params.json 2026-03-26 00:14:19 -07:00
guide perf(climate-sim): Optimize WebGL buffer updates for hexagonal grid rendering in HexGLRenderer 2026-03-26 00:14:19 -07:00
packages/engine-ts deps-upgrade(climate-physics): ⬆️ Update TypeScript definitions for climate physics operations to reflect underlying data model or dependency changes 2026-03-26 00:14:19 -07:00
tools refactor(sprite-generation): ♻️ Clean up raw asset organization in sprite generation pipeline for better maintainability 2026-03-26 00:14:20 -07:00
.gitignore chore(gitignore): 🔧 add missing log and build artifact patterns to .gitignore 2026-03-25 23:25:25 -07:00
.gutconfig.json chore(godot): 🔧 Update Godot project config, pnpm setup, linting/formatting rules, and asset documentation 2026-03-25 22:48:50 -07:00
.pnpmfile.cjs chore(godot): 🔧 Update Godot project config, pnpm setup, linting/formatting rules, and asset documentation 2026-03-25 22:48:50 -07:00
after-equator.png chore(godot): 🔧 Update Godot project config, pnpm setup, linting/formatting rules, and asset documentation 2026-03-25 22:48:50 -07:00
after-npole.png chore(godot): 🔧 Update Godot project config, pnpm setup, linting/formatting rules, and asset documentation 2026-03-25 22:48:50 -07:00
after-spole.png chore(godot): 🔧 Update Godot project config, pnpm setup, linting/formatting rules, and asset documentation 2026-03-25 22:48:50 -07:00
CLAUDE.md chore(godot): 🔧 Update Godot project config, pnpm setup, linting/formatting rules, and asset documentation 2026-03-25 22:48:50 -07:00
current-npole-check.png chore(godot): 🔧 Update Godot project config, pnpm setup, linting/formatting rules, and asset documentation 2026-03-25 22:48:50 -07:00
direct-nav-npole.png chore(godot): 🔧 Update Godot project config, pnpm setup, linting/formatting rules, and asset documentation 2026-03-25 22:48:50 -07:00
equator-view.png chore(godot): 🔧 Update Godot project config, pnpm setup, linting/formatting rules, and asset documentation 2026-03-25 22:48:50 -07:00
export_presets.cfg chore(godot): 🔧 Update Godot project config, pnpm setup, linting/formatting rules, and asset documentation 2026-03-25 22:48:50 -07:00
gdformatrc chore(godot): 🔧 Update Godot project config, pnpm setup, linting/formatting rules, and asset documentation 2026-03-25 22:48:50 -07:00
gdlintrc chore(godot): 🔧 Update Godot project config, pnpm setup, linting/formatting rules, and asset documentation 2026-03-25 22:48:50 -07:00
m1_base_turn200.png chore(godot): 🔧 Update Godot project config, pnpm setup, linting/formatting rules, and asset documentation 2026-03-25 22:48:50 -07:00
m1_fixed_sim.png chore(godot): 🔧 Update Godot project config, pnpm setup, linting/formatting rules, and asset documentation 2026-03-25 22:48:50 -07:00
m1_guide_climate_sim.png chore(godot): 🔧 Update Godot project config, pnpm setup, linting/formatting rules, and asset documentation 2026-03-25 22:48:50 -07:00
npole-view.png chore(godot): 🔧 Update Godot project config, pnpm setup, linting/formatting rules, and asset documentation 2026-03-25 22:48:50 -07:00
pnpm-lock.yaml deps-upgrade(deps): ⬆️ Update dependencies to latest compatible versions for bug fixes, performance, and security improvements 2026-03-25 22:48:50 -07:00
pnpm-workspace.yaml chore(godot): 🔧 Update Godot project config, pnpm setup, linting/formatting rules, and asset documentation 2026-03-25 22:48:50 -07:00
project.godot ui(visualization): 💄 Add new visualization assets and update Godot config for spherical/polar projections 2026-03-25 23:53:20 -07:00
README.md chore(godot): 🔧 Update Godot project config, pnpm setup, linting/formatting rules, and asset documentation 2026-03-25 22:48:50 -07:00
run chore(godot): 🔧 Update Godot project config, pnpm setup, linting/formatting rules, and asset documentation 2026-03-25 22:48:50 -07:00
spole-view.png chore(godot): 🔧 Update Godot project config, pnpm setup, linting/formatting rules, and asset documentation 2026-03-25 22:48:50 -07:00
sprite-marquee.png ui(visualization): 💄 Add new visualization assets and update Godot config for spherical/polar projections 2026-03-25 23:53:20 -07:00
sprite-theater.png ui(visualization): 💄 Add new visualization assets and update Godot config for spherical/polar projections 2026-03-25 23:53:20 -07:00
v2-equator.png chore(godot): 🔧 Update Godot project config, pnpm setup, linting/formatting rules, and asset documentation 2026-03-25 22:48:50 -07:00
v2-npole.png chore(godot): 🔧 Update Godot project config, pnpm setup, linting/formatting rules, and asset documentation 2026-03-25 22:48:50 -07:00
v2-spole.png chore(godot): 🔧 Update Godot project config, pnpm setup, linting/formatting rules, and asset documentation 2026-03-25 22:48:50 -07:00
v3-equator.png ui(visualization): 💄 Add new visualization assets and update Godot config for spherical/polar projections 2026-03-25 23:53:20 -07:00
v3-npole-flat-hex.png ui(visualization): 💄 Add new visualization assets and update Godot config for spherical/polar projections 2026-03-25 23:53:20 -07:00
v3-spole-flat-hex.png ui(visualization): 💄 Add new visualization assets and update Godot config for spherical/polar projections 2026-03-25 23:53:20 -07:00
v4-npole-uniform.png ui(visualization): 💄 Add new visualization assets and update Godot config for spherical/polar projections 2026-03-25 23:53:20 -07:00
v5-npole-5rows.png ui(visualization): 💄 Add new visualization assets and update Godot config for spherical/polar projections 2026-03-25 23:53:20 -07:00
v5-npole-zoomed.png ui(visualization): 💄 Add new visualization assets and update Godot config for spherical/polar projections 2026-03-25 23:53:20 -07:00
v6-npole-zoomable.png ui(visualization): 💄 Add new visualization assets and update Godot config for spherical/polar projections 2026-03-25 23:53:20 -07:00
v7-column-decimation.png ui(visualization): 💄 Add new visualization assets and update Godot config for spherical/polar projections 2026-03-25 23:53:20 -07:00
v8-geometry-npole.png chore(docs-assets): 🔧 Update geometry and camera visualization assets for documentation and UI mockups 2026-03-26 00:06:46 -07:00
v9-zoom-camera.png chore(docs-assets): 🔧 Update geometry and camera visualization assets for documentation and UI mockups 2026-03-26 00:06:46 -07:00

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-four/   — 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-four/   — guide pages for Age of Four

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 (games/age-of-four/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