Loading page…
Riders, drivers, matching and fares: a grid of 1 km cells to find nearby drivers, a compare-and-set on the driver so a stale search can't double-book, a strict trip state machine, matching and fares as strategies with surge as a decorator fixed at request time, and 20 riders racing for 3 drivers.
A match ends outside a stadium, and twenty people tap book at once.