Your Cart
Loading

Masters of the Metropolis: A Simulation-First Introduction to Programming, Systems, and Thinking in Code

On Sale
£20.00
£20.00
Added to cart

A city that grows, argues with itself, and remembers what you did to it.


Masters of the Metropolis teaches programming the way it actually gets used: by building one system, then another, then watching them collide. Over roughly 600 pages you construct a complete city simulation in Python - citizens with lives of their own, an economy that responds to what you build, infrastructure that fails under load, and events that spiral into consequences you didn't plan.


This isn't a syntax reference with a worked example bolted on. It's a book about systems thinking, taught through code you write yourself. Why a small change in one subsystem produces chaos three layers away. Why state is hard. Why the simulation you designed on paper behaves differently once it's running.


What you'll build:


Citizens with needs, jobs, and decisions that play out over time

An economy that reacts to supply, demand and your interventions

Infrastructure and services that degrade under pressure

An event system where consequences cascade

A live dashboard for watching the whole thing run

Save and load, so your city persists between sessions


What you'll learn: program architecture across multiple modules, data modelling, state management, simulation loops, debugging emergent behaviour, and how to reason about a system too big to hold in your head all at once.


Written for people past the basics - anyone who can write a loop and a function, and wants to know what comes next. Self-taught programmers, students, and developers who've never built anything with this many moving parts.


Ebook edition in full colour. PDF.


By completing this purchase you agree to immediate digital delivery and acknowledge that you waive your 14-day right to cancel once the file is available to download. Problem with your order? Email rob@runtimepress.com and we will sort it.

You will get a PDF (10MB) file