Today I vibe coded a 40-line sprint version called Brookstris!
Today I vibe-coded a 40-lines sprint version of Tetris with Codex and GPT-5.5.
I'm calling it Brookstris. It's designed to be ultra-performant for competive players.
https://brooksdubois.com/Brookstris
A little about me: I'm a frontend dev with ~8 years exp and a huge fan of codex since it dropped. I'm full stack with Typescript and Kotlin, and I've been a bit of a performance snob for a while now. I've been a passionate Tetris player for years. I went all-in on vibe coding when GPT-3 came out and it became actually feasible.
My Tetris history: I actually started with the Atari version of Tetris on windows back in the day. Of course, had it on gameboy. At one point I found Quinn on Mac OSX, that was pretty good. Then I started playing online on tetrisfriends. I was "attentionwandere" if anyone used to play lol. Loved the arena mode. I found the awesome hard-drop forums and really tried to step my game up with finesse. My record was sprint was 43s on tetrisfriends at one point.
The flash performance of tetrisfriends wasn't great, but it was still fun. After they killed tetrisfriends I moved to DS, then Tetris99 and Tetr.io, but it was never quite the same. Especially trying to hold the nunchucks like they were a keyboard (switching hands), that kind of worked so I played that for a little while. Eventually got kind of tired of them both, the ads on tetr.io, installing Java sdks, and hand cramps. Lol, sold my switch and I kinda gave up on Tetris for a little while, unfortunately.
About the Development: I've played around with the source code for Nullpomino and Apotris, extensively comparing the two and modifying them, but I could never get either one quite the way I wanted. Today I decided to scrap all of that and just vibe code something from scratch with oh-my-codex and a meta-prompting technique: I refine prompts with GPT-5.5 thinking.
I specified SRS, DAS, ARR, and competitive settings, localstorage, SolidJS and a few other things. Them, basically, I spun up an empty repo, did `npm init solid` ran through a `$deep-interview` a `$ralplan` and a `$ralph` loop and out came Brookstris! It took me about an hour total, including the follow up prompts.
>Master prompting level: Achieved!
More on the Tech: I specified Solid.js for the overal page, for it's fine-grained rendering (better than React) and a WebGL renderer with a strict 120fps minimum. It should be supremely playable. I haven't actually looked at the code, but I made sure to specify performance, performance, performance each step of the way. It uses localstorage for settings, and the entire thing is client-side (no data leaves the browser what-so-ever). It's purely for sprint, but I may add a Zen mode if people like it.
____
Honestly, I love it. It's brought back my love for Tetris Sprint. Can't believe I didn't think of this sooner!
It's a very small bundle, so I've decided to deploy it to my personal site for the world to play.
I'd love your feedback on it, and feel free to check out the rest of my site too, alot of cool stuff on there.
See if you can beat my time! 54.850s