Inspiration
We're college students, and if you've ever gone out in Boston you know the train ride from the dorm to the city is where a night can simmer down or die completely, just because the ride is boring. The T passes a million trips a weekday, and if you look around any car, pretty much everyone is heads down with earbuds in. So we asked ourselves what it would look like if the ride was where the fun started instead of where it fizzled out.
What it does
TTiles turns the floor of a train car into Piano Tiles, and your feet are the fingers. A small projector draws a lane of tiles in front of each seat, one camera across the aisle watches everyone's shoes, and when a tile hits the line you lift your foot, land it on the beat, and the piano plays the note. Up to four riders play one song together for one team score, with combos, Perfects, and a grade from S to C. Your phone is just the remote, with no app to download. You scan the poster in your car (it already knows your line and stop), tell it where you're getting off, and TTiles reads the MBTA's live arrival predictions to pick a song that ends right as you pull in. The set list is very Boston too: Sweet Caroline, Dirty Water, Shipping Up to Boston, and 14 more.
How we built it
It's a plain JavaScript web app where the laptop runs the projected floor and every phone is a remote. MediaPipe's pose model finds each player's feet right in the browser, fully offline, and train times come live from the MBTA V3 API.
Challenges we ran into
The hardest part was telling a real tap from a foot that's just resting, since people shift around a ton when they're sitting. We recorded real players, built a review page that puts the camera video next to every tap it caught, and tuned against that until resting feet stopped counting. We also ran into many problems trying to iron out how we will continue tracking through busy cars and people walking infront of your playing area. Our first run on a real floor also showed the feet were backwards. The projector was aiming at the players from the front instead of from behind, so the whole picture had to turn 180 degrees and the seats had to mirror.
Accomplishments that we're proud of
On recordings from our own camera, TTiles caught 66 of 71 real foot taps with zero false taps at rest, and the floor runs at over 70 frames a second with all four seats playing. We're also really proud of the conductor, a jellyfish in a conductor's cap whose tentacles are the four subway lines and modeled off of the 2026 MLH mascot.
What we learned
Tracking feet only works when you tune it on real footage, and checking every tap side by side taught us way more than guessing ever did or would.
What's next
We honestly think this could be the first of many games for the T, and we have so much fun playing it ourselves that we can totally see people pulling their friends over to try it. Next up is a pilot on a real car and an install in the BU Spark! lab, where any row of chairs can become the instrument.
Built With
- css3
- html5
- javascript
- mbta-v3-api
- mediapipe
- mqtt
- node.js
- projector
- tone.js
- vercel
- vite
- web-audio-api
- websockets