← All projects

Fare Dodger

A hidden-movement chase game on the real Budapest timetable, balanced with thousands of bot-vs-bot simulations.

Context
Personal project
When
2026, ongoing
Stack
Python, BKK GTFS, Docker

The game

One hidden Fare Dodger tries to stay ahead of three Inspectors for 12 rounds. Every round is 10 minutes of real weekday service on the Budapest metro, tram, trolleybus and main bus lines, and every move is validated against the timetable.

Under the hood

Balancing with data

The target is a Dodger win rate of about 45% against the best Inspectors. I ran 200 games per matchup and report Wilson 95% intervals.

Rule setDodger wins
Original rules76.0% [70-81%]
Four Inspectors71.0% [64-77%]
Reveal transport modes57.0% [50-64%]
Reveal modes, position every 2nd round46.5% [40-53%]

The lesson: information is the bottleneck, not manpower. A fourth Inspector barely helps, while revealing more information shrinks the set of possible positions and brings the game into balance.