Inspiration

Saturday morning, we went out and asked riders what they do when the T takes longer than expected. Walking up to strangers felt awkward at first, but each conversation made the next one easier. Two riders told us they’d never thought to explore what was around their stop. That stuck with us.

Late that night, we decided to try it ourselves. Starting near BU Central, we asked a simple question. How much could we see in ten minutes? We walked around to the back of the George Sherman Union and caught a view of the Charles River. A huge building across the water caught our eye, and we stopped to take it all in. We could easily have spent those same ten minutes on our phones, checking when the train was coming. The view had been there all along. We’d just given ourselves a reason to go see it.

We’re so focused on where we’re going that we forget where we are. That’s why we built T*spots. A clue can give riders a reason to look around their stop. A team challenge can give two strangers a reason to say hello. We wanted an ordinary wait to leave someone with a story worth telling.

What it does

T*spots is a mobile web game for MBTA riders. Our tagline is “A Community of Commuters.” Riders join the Red, Orange, Blue, or Green Line team and earn points on trips they already take. The Silver Line is a daily side quest.

When a rider taps Start, the app matches their phone’s GPS to a vehicle in the live MBTA feed. It keeps the ride active through brief GPS outages in tunnels and offers manual check-in when it can’t get a fix. Riders earn points based on time, with an hourly cap. Their points help their line’s district grow on a shared 3D map of Boston, and a live leaderboard tracks each team’s progress.

Teammates on the same train form a crew. Their bonus starts at 3x and tapers to 1x over ten minutes. After a few trips, the app learns a rider’s usual route and suggests a meetup station. Riders with shared interests can meet there and bump phones to earn a bonus. Each rider also has a profile with an avatar, interests, highlights, activity, and friends.

When the MBTA reports a delay, the Hunt map opens station trivia, mini-games, landmark claims, and photo challenges graded by Gemini. Riders can redeem CitiTokens for rotating perks using a scannable QR code. They can also post bounties, offers, and trades on a shared board, where tokens stay in escrow until a deal is complete.

The demo follows a real MBTA route with simulated riders. Judges can start a trip, form a crew, trigger a delay, complete a hunt, and redeem a perk without leaving the room.

How we built it

We built T*spots with Next.js, the App Router, and TypeScript, and deployed it on Vercel. The MBTA V3 API supplies vehicle positions, stops, routes, alerts, and arrival predictions.

We coordinated three AI coding agents, two Claude Code instances and Codex. One worked on the MBTA connection, ride verification, delay detection, and APIs for crews, hotspots, and photo challenges. Another built the points and CitiToken ledger, district growth, hunts, geofenced landmark claims, bounty escrow, perk redemption, and the route simulator. The third built the interface, including a custom paper-craft Boston, a live transit map without a tile library, and the ride and Hunt screens.

We agreed on what each API would send and receive before building against it. We wrote those agreements in docs/CONTRACTS.md and created typed examples so the frontend could use realistic responses while the ride engine was still underway. Each agent owned specific files and used GitHub issues for handoffs. We merged more than 100 small pull requests in about 20 hours.

Challenges we ran into

GPS drops underground. Once we matched a rider to a train, we needed a way to keep the ride active through a tunnel. We used the vehicle’s reported stop sequence and arrival predictions to maintain the match during brief outages.

Our first scoring rule favored routes with more stops. A Green Line rider could earn more points than another rider who spent just as long on the T. We switched to time-based scoring with an hourly cap.

Physical clues needed an in-person check. A landmark can be close to a station and still be hard to see from the platform. We built a draft state so a clue stays hidden until someone verifies the wording and finds a safe public spot to view the landmark.

Coordinating three agents took clear file ownership and small pull requests. Late-night interface changes still needed careful handoffs. We also ran into infrastructure limits. Our MBTA API key was rejected, so we ran keyless and cached responses longer. The deployed demo uses in-memory state, which can reset between sessions.

Accomplishments that we’re proud of

We got the full experience working on a phone. A rider can start a trip, earn points, see their district grow, enter a hunt during a delay, earn tokens, and redeem a perk with a QR code someone can scan.

We’re especially proud that the app can match a rider to a specific MBTA train, recognize teammates on board, and turn that trip into progress they can both see. The paper-craft map gives that progress a home that feels like Boston.

What we learned

Our rider conversations changed how we judged our own ideas. When two people told us they’d never thought to explore around their stop, we started asking what would make looking up worthwhile. That gave us a practical test for every quest. If a rider finishes a station clue and remembers a detail they’d walked past a hundred times, the clue worked. If they spend the whole time looking at our screen, it needs work.

We also learned that scoring rules shape how it feels to belong to a team. Points per stop sounded fair until we compared two rides of the same length on different lines. That comparison helped us see the game from the rider’s perspective and change the rule before building more features around it.

On the engineering side, agreeing on one example of a verified ride helped the frontend, scoring system, and simulator work together. When something went wrong with live data, we could replay a route and trace where the experience broke.

What’s next for T*spots

We want to walk more routes, verify station clues in person, and test which places riders are glad they took a moment to discover. We also want to pilot perks with local businesses, learn which rewards riders actually redeem, and explore a partnership with the MBTA.

Our next engineering step is connecting a hosted Postgres database so riders can return to their balances, friendships, and district progress. The schema and migrations are already written. We’ve also built the table that queues CitiToken minting requests. Connecting it to Solana devnet is still ahead.

We’d like to add notifications when a line is delayed or a crew forms on a rider’s train. That way, riders can put their phones away until there’s something worth opening the app for.

Built With

Share this project:

Updates

Submission history