Inspiration

You’re waiting for the T. The board says 4 min, and someone says, “I bet it takes longer.” We wanted to turn that little moment into a game you can play with the people already waiting alongside you.

What it does

Pick an MBTA subway line, station, and direction. When the board shows four minutes, wager fictional credits on whether the train will arrive Sooner or Later. Once you lock in, you can see how everyone else voted. If the train arrives within 30 seconds of the estimate either way, the board wins. You can start as a guest and come back to the same nickname, balance, and line standings.

How we built it

We built a native iPhone app with SwiftUI and a Node.js and Express backend that stores rounds, wagers, and scores in SQLite. The server uses the MBTA V3 API to match forecasts and arrivals to the same train and platform. It freezes the four-minute estimate when a round opens so an updated forecast can’t move the target. We also built an accelerated demo that anyone can run locally without an MBTA API key.

Challenges we ran into

Getting two phones to agree on the same round was harder than putting a countdown on screen. We had to match the right train, direction, and platform, then figure out what to do when the train skipped a stop or the arrival feed went down. We also had to make sure a rider could lock in a pick, put their phone away, and come back to the right result

Accomplishments that we're proud of

We got two iPhone simulators to lock in opposite picks, see the same crowd split, and get the same result. One app was in the background when the round settled. When we reopened it, the saved pick was there and the balance had gone from 100 to 110 credits. We also settled a live Orange Line round at Downtown Crossing. The train arrived in 3:49.665, close enough for the board to win.

What we learned

The rules are easy to explain because they’re based on a familiar moment. Making those rules feel fair took more work. A revised estimate, a skipped stop, and a missing arrival report each need a different response. Keeping that logic on the server gave both riders the same answer, even if one had their phone in their pocket

What's next for Beat the Board

We’d like to make it faster to get back to the platforms you use every day. We also want to build on the recent-waits view so riders can see how their station’s four-minute estimates hold up over time.

Share this project:

Updates

Submission history