Skip to content
Naftali Lubin

Need a website? Let’s talk

Case study · 2026

Verticopolis

A browser-native homage to SimTower (1994). Free to play in the browser, open source, and still in active development.

Version
4.14.2
Modes
Classic (1994 rules) or Modern, fixed per tower
Tower bounds
100 floors up, 10 basement levels
Saves
Opens the original SimTower’s .TDT files, keeping their building sizes, and writes them for Classic towers, plus its own .vctower
Engine
Rust compiled to WebAssembly, the only engine the game runs since 2.66.0
Runs on
Desktop and phone browsers, installable as an app. On a computer it runs as a 1994-style desktop
Split Tower, a Modern Verticopolis lot with five towers of different heights, sky bridges between them every 15 floors and parking and Metro levels below ground, on the 1994-style desktop with the Tools, Info, Map and Bulletin windows open.
Actual screenshot Split Tower, my own Modern tower: five towers on one lot, joined by sky bridges every 15 floors. Captured in 4.13.4. Art CC BY 4.0. Full size: Split Tower

The game today

What it is

Build a vertical city floor by floor in your browser. Wire it with elevators, fill it with offices, condos, hotels and shops, and climb the star ratings toward TOWER. Classic plays by the 1994 rules and opens the original game’s saves. Modern adds several towers on one lot, sky bridges between them, more transportation and smarter elevators.

It runs in a desktop or phone browser and installs as an app. It’s free, nothing in it is locked, and every sprite is drawn in code. When you found a tower you pick one of two rule-sets, and the tower keeps it for good. The Player’s Manual has the full comparison. It’s built with TypeScript, Excalibur.js, lit-html, Tone.js, Rust, WebAssembly, Vite PWA.

Tenants are routed one by one and ride elevators you place and schedule yourself. Put a shaft in the wrong place and you get a lobby full of waiting people. Stars unlock at 300, 1,000, 5,000 and 10,000 people. TOWER also needs a Wedding Hall, a metro and a passed VIP inspection.

Classic: the 1994 game

Classic follows the original SimTower rule for rule, and most of the work since 3.0 went into closing the gaps. Where it still differs, on purpose or not yet, is listed on Differences from the 1994 game.

  • A 1994 desktop On a computer, the game runs as a desktop from 1994. The tower, Tools, Info, the Map and the Bulletin are windows you can move and minimize, with a menu bar and a taskbar. Phones keep their own layout.
  • Tall lobbies Lobbies can be two or three stories tall. In Classic only the ground lobby rises, as in the original, and it survives a round trip through a 1994 save.
  • Elevators that behave like 1994’s Classic elevators follow the original’s dispatch settings, express cars stop where the 1994 game’s did, stairs and escalators take as long as they did then, and people only board a car going their way.
  • Fires the old way Fires only break out once the tower has Security. Guards climb the outside emergency stairs to the burning room, and Fire Rescue is a helicopter you can watch fly in, at the original’s $500,000.
  • Saves from 1994 Open a tower you saved in the original SimTower and keep playing it here, or export a Classic tower for the original game, with its tall lobby, theaters, party halls and parking intact.
  • The small things Long elevator waits wear tenants down, recycling and parking matter from three stars, people walk and wait like people, and Metro riders come and go on real trains.
A three-story ground lobby with tall arched windows, people waiting at the elevators during the morning rush, and offices and a fast food place on the floors above.
Actual screenshot A three-story ground lobby at the 8:15 AM rush, in a Classic tower I set up for screenshots. Captured in 4.13.4. Art CC BY 4.0. Full size: three-story lobby
A red Fire Rescue helicopter flying in over the roof of a Classic tower while an office on floor 36 burns, with the Bulletin reporting that 12 Security guards are taking the emergency stairs.
Actual screenshot Fire Rescue flies in while the floor 36 fire still burns, and the Bulletin says 12 guards are on the stairs. I started this fire on purpose for the picture. Captured in 4.13.4. Art CC BY 4.0. Full size: Fire Rescue

Modern: what the original couldn’t do

Modern keeps everything Classic has and adds to it. It’s where I try ideas that don’t belong in a faithful remake, and it can use a different, better rule where Classic has to match 1994.

  • Several towers on one lot Lay another ground lobby and you have a second tower. People walk between towers along the street.
  • Sky bridges Join two towers’ sky lobbies with a bridge. The Sky Bridge tool, unlocked at three stars, shows the whole bridge and its price and builds it in one click, and each bridge can wear one of five looks.
  • More transportation 48 elevator shafts where Classic allows 24, up to three Metro stations, and as many stairs and escalators as the lot has room for.
  • Smarter elevators Elevators send the best-placed car to each call, full cars pass waiting floors, and people compare the lines before picking a way up. An elevator on Auto re-tunes its cars every morning from the traffic it measured.
  • People with routines Residents leave for work and come home, hotel guests check in and out, and shop staff arrive before opening.
Two Split Tower sky bridges: a red steel truss bridge on floor 45 and a glass skywalk on floor 30, crossing open air between towers, with the Bridge look strip offering Lobby, Glass Skywalk, Steel Truss, Deco Arcade and Garden Walk.
Actual screenshot Sky bridge looks from 4.14: Steel Truss on floor 45 and Glass Skywalk on floor 30. I restyled Split Tower’s plain bridges with the Sky Bridge tool for this shot. Art CC BY 4.0. Full size: sky bridge looks

A big Modern tower

Split Tower is my own Modern tower and the biggest one I play. These are its numbers as it opened in 4.13.4, before I took the screenshots on this page:

Towers
Five on one 373-tile lot, rooms up to floor 99
People
9,643 when opened, four stars, fifth year
Sky lobbies
Every 15 floors, bridged across the lot
Transit
Three Metro stations, 276 parking spaces
Transport
28 elevators, 30 escalators, 23 stairways
Rooms
1,096 offices, 374 hotel rooms, 225 condos, plus shops

A tower that size is a good test of the simulation. At the evening rush the Traffic readout turns red, and clicking it takes you to the worst line in the building, here the floor 15 sky lobby. The Bulletin is just as blunt about the service elevators on floors 33 and 37.

A crowd of people in red waiting along the floor 15 sky lobby at an elevator, with the Info strip reading Gridlock on 15F at 5:15 PM on a Monday and 9,757 people in the tower.
Actual screenshot Monday, 5:15 PM in Split Tower. Traffic reads Gridlock, and clicking it jumped to the line at the floor 15 sky lobby. Captured in 4.13.4. Art CC BY 4.0. Full size: rush hour

How it’s built

Architecture

The game is a TypeScript host on Excalibur.js. The simulation sits behind an engine boundary, so it doesn’t depend on any one frontend. The renderer, interface, audio and saves send it commands and read its state back.

Diagram

Verticopolis architecture todayThe TypeScript host runs the Excalibur.js renderer, the UI panels and inspector, Tone.js audio, saves and .TDT import and export, and a shared view reader. The host sends commands and steps to the Rust simulation engine compiled to WebAssembly through one port, and reads state and refusals back. The TypeScript engine implements the same port, but the shipped game does not run it. The Rust engine has no file, network or clock access and produces state digests. Conformance scenarios and a nightly fuzzer compare the TypeScript and Rust engines' digests.TypeScript hostExcalibur.js rendererUI panels, inspectorAudio (Tone.js)Saves, .TDT import/exportShared view readerRust engine (WebAssembly)Deterministic fixed stepPeople, transport, economyNo files, network, clockState digestscommands, stepsstate, refusalsConformance scenarios and a nightly fuzzer compare both engines
Illustration: how the TypeScript host and the Rust engine connect today.

From TypeScript to Rust

I ported the simulation to Rust and compiled it to WebAssembly. Since version 2.66.0 it is the only engine the game runs. If it fails to load or stops, the game shows a failure screen with a reason and a reload button. The TypeScript engine stayed in the repository as a reference for the conformance tests until Nov 11, 2026, when I deleted it (PR #1956). Every rule and its tests live in the Rust engine now.

Why Rust

Rust compiles to WebAssembly, so the engine runs in the page the way the TypeScript one does. It has no file, network or clock access, and a test enforces that. It was also faster than the TypeScript engine; the 3.0 numbers are under Performance.

How the game talks to the engine

Until late October, the opt-in kept a TypeScript simulation running next to the Rust engine as a read model that was refreshed from it, and player commands ran there first before being relayed. That mirror is gone. My first plan for removing it put a facade (a SimPort, PR #1184) between the game and the engines. On Oct 28 I replaced that plan with a simpler one: the Rust engine itself is the interface. It is one synchronous, numeric port (EnginePort) with no JSON in between. While the TypeScript engine was still around it implemented the same port, so the renderer and panels read both through one shared view reader. Prices, refusals and decisions come from the engine, and the UI keeps no copy of them.

Determinism and conformance testing

A port is only good if it produces the same tower as the engine it replaces. The simulation runs on a fixed time step, so it gives the same result at any frame rate. A conformance suite pins state, crowd and event hashes for a library of scenarios. While there were two engines, it ran every scenario against both, and a nightly fuzzer fed both the same random command streams and compared their digests. The port included a Mulberry32 random generator rebuilt on wrapping 32-bit integers, so both engines drew the same numbers.

With one engine left, the suite holds the Rust engine to its own pinned results, run natively and through the WebAssembly build the game ships. The nightly fuzzer now grows random scenarios natively and replays them through WebAssembly, which is how a difference that only shows up in the browser build would surface. A change that moves a pinned result has to update the lock in the same pull request, on purpose.

Saves from the 1994 game

Verticopolis opens the original SimTower’s .TDT save files, and it exports your tower back to .TDT. Load a tower you saved in 1994 and it’s here, with its population, elevators, lobbies and views. Build a Classic tower here and export it, and the original game can load it, as I tested in August (below). Modern towers can’t be exported, because SimTower can only load Classic ones.

The format was never published, so the importer is built from public reverse-engineering notes. It uses none of the original’s code. My own notes on it are in the repo’s .TDT format page.

Checked against the real game

In August I tested exports in retail SimTower, running in a Wine harness. A four-star tower I exported loaded with most of its elevators missing and its burned rooms drawn as static. I fixed four round-trip bugs (PR #741) and found a fifth in the game itself: every elevator shaft written after an express slot is lost. I can’t fix that from here, so the exporter writes express shafts last and warns when a second express won’t survive.

Both engines, same bytes

The Rust engine has its own importer and exporter. On Oct 28 I ran five real saves from the original game through both. The TypeScript and Rust importers gave the same tower with the same warnings, and their exports are byte-identical.

Three limits, as of Oct 28. None of my real saves had a cathedral, so the wedding hall’s import and export were unchecked against a real file. Neither exporter reproduced the original file byte for byte: the headers differed, and so did the file sizes. And I hadn’t yet loaded those Oct 28 exports back into the original game.

Since 3.0

More of a tower survives the trip now. A tower with a party hall opens and plays in the original game instead of crashing it, theaters are written the way SimTower writes them, a tall ground lobby comes through, parking stays connected, and the original game can keep building on an exported tower.

Engineering challenges

Keeping two engines honest

The conformance suite found three places where the Rust port had drifted from the TypeScript engine. Those were fixed before the Rust engine took over, and the same suite is what the Rust engine answers to now that the TypeScript one is gone.

The cost of hosting an engine

For a while, hosting Rust in the browser game cost more than stepping the simulation. The early WebAssembly host kept a TypeScript read model and synchronized state back into it, and profiling on my desktop showed that this overhead could dominate the total time. Removing that mirror is what the numbers under Performance reflect.

How it was built

AI coding agents wrote most of the implementation. I made the product and architecture calls and set the rules and review bar they work under.

Tools: Claude Code, the GitHub Copilot coding agent and Codex reviews, working inside the BMAD method, an open-source workflow for planning and reviewing work with AI agents.

Workflow, with a public example for each step

  1. DecideMe

    Product and design calls, written down with the options that were rejected.

    Example: A decision log
  2. SpecifyMe + agent

    Specs, requirements and stories written before code.

    Example: A spec-first change
  3. PlanMe + agent

    Larger changes get a written plan with stages and exit criteria.

    Example: A staged written plan
  4. DelegateMe

    Bounded tasks go to Claude Code or GitHub Copilot sessions, each claiming an issue first.

    Example: The claim-an-issue rule
  5. ImplementAgent

    Agents write the code for each task, following the repository’s written rules.

    Example: Commit history
  6. VerifyCI

    Typecheck, lint, tests with coverage floors, conformance and screenshot drift.

    Example: Conformance caught three Rust drifts
  7. ReviewAgents + me

    Adversarial review skills plus Copilot and Codex reviews, repeated until a pass finds nothing new.

    Example: A change reviewed in ten rounds
  8. TriageMe

    Each finding is fixed now or deferred to the backlog with a tracking issue.

    Example: A deferred finding
  9. Approve and mergeMe

    Pull requests merge under my account. Agents may arm auto-merge only after review sign-off and green CI.

    Example: The merge rules
  10. MeasureAgent + me

    Claims about speed are measured with reproducible, paired benchmarks before they are made.

    Example: The TypeScript vs WebAssembly benchmark
  11. Refine the rulesMe

    When something goes wrong, it becomes a written rule for the next session.

    Example: A rule added after an incident

Performance

Historical benchmark. The tables below are from Nov 10, 2026, on the 3.0.0 release. I haven’t rerun this benchmark since, so they describe 3.0, not the current version.

3.0 against the last TypeScript build

3.0 felt smoother. Measured on the 3.0.0 release against the last TypeScript build, a full in-game day took a sixth to a seventh of the time to simulate on a big tower, and the stutters you could see while playing were about half as long. On a slower computer, a large tower ran at twice the frame rate and froze about 70% less.

Medians of 10 runs on my PC. Lower is better, except for frame rate.
MeasureOld engineNew engine
A full in-game day, medium tower888 ms143 ms
A full in-game day, large tower955 ms136 ms
Longest stutters, large tower29 ms16 ms
Frame rate, slower computer, large tower21 FPS41 FPS
Time frozen, slower computer, large tower4.9 s1.5 s

What it cost in 3.0: the game took about 35 ms longer to start, a large saved tower loaded in 86 ms instead of 77, and it used 15 to 35% more memory on medium and large towers.

How 3.0 got there

It didn’t start out fast. On Oct 20, running inside the game, the Rust engine was about 5× slower than the old one on a large tower and used 2.7× the memory, because the game copied the whole simulation back into TypeScript after every step. Cutting that copy out is what turned it around.

The Rust engine on a large tower, same PC both times: time to simulate a full in-game day, frame rate on a slower computer, and memory. The old TypeScript engine took about 1 to 1.4 seconds and 74 to 80 MiB.
DateDayFPSMemory
Oct 207.6 s3.2201 MiB
Nov 10 (3.0)0.14 s41.092 MiB

How I measured. Both runs are on my Windows 11 desktop (Ryzen 5 5600X, 32 GB, RTX 3060) in headless Chromium 149: medians of 10 runs, each in a fresh browser with the engine order alternating, and each run’s validation checks passed. “Slower computer” means the CPU slowed down 4×. The Nov 10 run pits the 3.0.0 release against the last TypeScript build (app 2.77.5), so the two differ in app code as well as the engine, on towers of 729, 3,219 and 17,314 people. The Oct 20 run (app 2.38.0) compared both engines inside the same build. The measurement protocol is in the repo; the full reports are kept privately. Other hardware may perform differently.

Since 3.0, from the release notes

Towers can get much bigger than they could in 3.0, and a lot of the engine work since has gone into big towers. I have no new numbers of my own to put next to the ones above. What I can point to is what the release notes say: in 4.1.1 a game day on a maxed Classic tower took about a quarter less work and a maxed Modern tower about a sixth less, 4.12.0 took about another tenth off on both, and 4.13.0 made towers with many empty rooms run up to a quarter faster. Those figures come from each release’s own engine measurements, not the PC benchmark above, and the release notes have the details.

Testing and quality gates

Every change goes through typecheck, lint, unit tests and a production build. Two engines that have to agree need more than that, so I run these too:

  • Conformance scenariosPinned state, crowd and event hashes, replayed natively and as WebAssembly
  • Nightly differential fuzzingRandom scenarios grown natively and replayed through the shipped WebAssembly build
  • Engine independence testNo file, network, console or clock access inside the simulation
  • Coverage floors93–94% of the TypeScript (86% of branches) and 87% of the Rust
  • Screenshot drift gateThe screenshot gallery is rendered in a pinned Playwright container

History

Evolution

My first commit, in February 2026, had three SimTower prototypes. I gave the same basic prompt to agents from ChatGPT, Copilot and Gemini. None of them was particularly good, so in June I rebuilt the project from scratch. The rest is the same game growing: the Verticopolis name and Modern in July, the Rust engine in 3.0, and the 1994 desktop, multi-tower lots and sky bridges in 3.x and 4.x.

  • A dark, mostly empty grid with a build menu of room types: an early prototype from February 2026.
    Rebuilt from sourceFeb 2026 · One of three first prototypes, the ChatGPT agent’s attempt
  • A pixel-art tower under the Tower Tycoon name, with a tools panel.
    Actual screenshotJun 29, 2026 · Rebuilt from scratch as Tower TycoonView this version
  • A smaller pixel-art tower on the first Excalibur.js build.
    Actual screenshotJun 30, 2026 · First Excalibur.js buildView this version
  • A 40-floor tower in the Verticopolis interface.
    Actual screenshotJul 29, 2026 · 2.0: renamed Verticopolis, Modern rule-setView this version
  • A 40-floor Classic tower with offices, hotel floors and condos, the tools panel on the left and the tower panel on the right: the 3.0 screenshot gallery.
    Actual screenshotNov 11, 2026 · 3.0: the whole game on the Rust engineView this version
  • A Classic tower in its own window on a teal desktop, with Tools, Info, Map and Bulletin windows and a taskbar.
    Actual screenshotNov 18, 2026 · 4.x: a 1994-style desktop with movable windowsView this version

Status timeline

  1. First prototypesShipped

    Three SimTower prototypes, each from a different AI agent.

  2. Rebuilt from scratchShipped

    A clean-room rebuild, renamed Verticopolis on July 1.

  3. 2.0 and 1994 savesShipped

    Import and export of the original game’s .TDT saves; 2.0.0 on July 29.

  4. Closer to SimTowerShipped

    1994 saves with their layout, Classic rules and sizes, a new metro station and wedding hall, and a faster Rust engine.

  5. 3.0Shipped

    The whole game on the Rust engine, Classic closer to 1994, and every tower view on one Map.

  6. 3.x: taller and widerShipped

    Two- and three-story lobbies, up to three Metro stations, and in Modern, several towers on one lot joined by sky bridges.

  7. 4.0Shipped

    A classic menu bar and status bar in place of the side panel, and 48 elevator shafts in Modern.

  8. 4.4 to 4.6: files and the desktopShipped

    Linked folders for tower files, the Player’s Manual at its own address, and the 1994 desktop on computers.

  9. 4.10 to 4.13: fire and elevatorsShipped

    The Sky Bridge tool, guards and a Fire Rescue helicopter, a file for every tower with previous versions, and elevators that re-tune themselves.

  10. 4.14: bridge looksShipped

    Five looks for sky bridges, and open air kept under them.

The project

Status

You can play it today at verticopolis.com, in the browser or installed as an app. The current version is 4.14.2. New versions ship through release pull requests, often more than one a day, and each one’s notes are in the release notes.

The version number on this page comes from the game’s own release information, so it stays current on its own. The rest of the page was last checked against 4.14.0 on .

Contribute

I’m looking for contributors to Verticopolis. The code is open source, and the contributor guide covers setup, the quality gates and how changes get reviewed.

Receipts

The public pull requests and documents behind this page.