A desktop app for drawing fantasy province maps, in the style of Paradox strategy games: draw rough borders quickly, let the app turn them into natural-looking coasts, mountains and rivers, then give provinces owners and attributes that change over time, and view them through map modes.
For Windows and macOS. Maps are plain text files that stay on your computer and can be shared with friends.
Status: step 1 of the plan (data model and file format). The app opens an empty window; nothing can be drawn yet. Sample map files are in samples/ and the file format is described in docs/file-format.md.
See the Releases page and the install guide.
The code is a tree of sets and subsets; each folder explains itself in its README.md.
src/
1-Model/ 1 What a map is (pure C#, uses nothing else)
1.1-Geometry shapes: points, shared borders, provinces
1.2-TerrainStyles rough line -> natural border
1.3-Attributes cultures, religions, realms, map-mode colours
1.4-Time free-form dates, history of changes
1.5-MapDocument the open map; the only way to change it (commands, undo)
1.6-Splitting split one province into many (step 10d)
1.7-Islands island generator (step 13)
2-Storage/ 2 How a map is kept (uses 1)
2.1-FormatAndVersions map <-> JSON text, versions, migrations
2.2-FilesAndSaving safe saving, autosave, crash recovery
3-Presentation/ 3 How a map is seen and edited (uses 1, never 2)
3.1-Rendering drawing the map, zoom, picking
3.2-EditingTools pen, selection, split/merge
3.3-Interface windows and panels
3.4-Export SVG and PNG
4-AppHost/ 4 Runs everything (uses 1, 2, 3)
4.1-StartupAndWiring program start, connects screens to storage
4.2-OsServices file dialogs, folders
4.3-Settings preferences
tests/ automatic checks (architecture rules, windows)
packaging/ installers for Windows and macOS
docs/ install guide, release steps, step reports
- Install the .NET SDK version written in
global.json(from https://dot.net). - In a terminal at the top of this folder:
dotnet buildcompiles everything;dotnet testruns all automatic checks;dotnet run --project src/4-AppHoststarts the app.
Rules for anyone (human or AI) changing the code: CLAUDE.md.
GPL-3.0-or-later (see LICENSE). Maps you make with the app are yours.