A 12-week city-management game that runs inside ArcGIS Pro, where permits, inspections and map selections change the city.
At a glance
Outcome: A 12-week city-management game that runs inside ArcGIS Pro. You are the city’s permit clerk: map data holds the city, map selections are your input, and a goal you pick plus three audits grade the season.
Status: Public beta. v0.97.0 was tagged October 5, 2026 and played through full seasons in ArcGIS Pro 3.7. It needs Pro 3.3 or later and was tested on 3.6 and 3.7.
Role: Designed the rules, ArcGIS adapter, tests and docs solo; reviewed and debugged AI-assisted implementation.
Stack & libraries: Python, arcpy, Tkinter, ArcGIS Pro 3.3+ (tested on 3.6 and 3.7), file geodatabase.
Validation: Seeded rules tests play a full season to the final audit
without an ArcGIS license. Before v0.97.0, a live round in Pro 3.7 checked
New Game, Continue and the season-end reports.
Contribution: I wrote the rules, the 17 decision records and a
failed-experiments log. I built the virtual machine test loop and designed
the probes; AI sessions drive Pro, and I review the recordings and choose
fixes.
Source: MIT-licensed on GitHub, with architecture docs and decision records.
Tests: The rules tests check that one seed always builds the same city,
how buyouts resolve, the audits at weeks 4, 8 and 12, and how ignored cases
return. Stand-in ArcGIS objects let the map-redraw and save tests run
without a license.
Limitations: v0.97.0 was checked live on Pro 3.7; earlier versions were built and tested on 3.6. Live runs used a throwaway save, so saving to the project’s default folder is covered by tests only.
Permit Office is a turn-based city game that runs inside ArcGIS Pro, the Windows mapping software city analysts use. You play the city’s permit clerk. Every permit is tied to shapes on the map, district conditions, pressure from interest groups and ongoing costs. Its effects show up on the map.
A season runs 12 weeks. New Game offers three goals drawn from the seed, such as quieting every grievance or raising city trust to 55. You file one, and week 12 judges the season by it.
The first-run menu identifies basemap layers that cause redraw gaps. New Game moves play to an empty Permit Office map.
Each week brings two new cases plus follow-ups, such as a street vendor compact, a utility trench or a procession route. You get two action points a week. Inspecting a file costs one and reveals its risk. You then approve the case, approve it with conditions or deny it. Each case says what happens if you ignore it.
Week 2 of a seeded season in v0.97.0. The desk shows the selected case, its target district and the cost of each action; the header tracks the goal, the next audit and council patience.
Once a week you can start an initiative that favors one district type or acts on the districts selected on the map. Ignored cases build pressure. A weak district can then be bought out by a stronger neighbor, which changes its type and name.
Each End Week files a report of buyouts, the week's money and changes to the docket.
The council audits the office at weeks 4, 8 and 12. A failed audit costs patience: first a warning, then one action point less, then dismissal. A pass wins patience back.
A finished seeded season: the final audit passed at 72, but the filed goal was missed, so the season is lost.
Districts, cases, projects and permits all live in one ArcGIS database file. That file is also the save. The rules are plain Python that never loads ArcGIS code. A fixed seed can play all 12 weeks in tests on a computer with no ArcGIS license.
ArcGIS Pro runs its scripting and its map on one thread. A full map redraw took 4 to 5 seconds, so the game redraws only the layers a decision changed. On Pro 3.7 it switches a layer’s filter in place. The district step now takes 0.33 to 0.52 seconds, down from 1.1 to 2.3.
ArcGIS Pro runs only on Windows, so I test it from Linux through a Windows virtual machine. An AI session inside the machine performs one map operation at a time while a recorder timestamps every screen frame. Snapshots of each layer before and after show which shapes changed. Together they catch redraw problems shorter than a second, which logs miss.
Closing the game window crashed ArcGIS Pro. The loop traced the crash to the window’s toolkit being shut down from the wrong thread. I moved the shutdown onto the toolkit’s own thread. Pro then ran another map command after the window closed, which confirmed the fix.
v0.97.0 is tagged on GitHub. Next come a balance pass for the new goals and initiatives, live runs on Pro 3.3 to 3.6, and a live check of the default save folder. The same rules-first design now runs on real city map data in Civic Sims, a separate ArcGIS Pro add-in.
Released v0.9.0, the first public version: a full 12-week season playable inside ArcGIS Pro, with seeded cities, inspections, approvals, buyouts and a final audit.
Released v0.97.0. Each season now starts from a goal you pick, the council audits you at weeks 4, 8 and 12, and you can start one initiative a week. Every run opens on a main menu with Continue and New Game.