Vroomy is a typing race. You get a quote, everyone types it at the same time, and your car moves with every word you get right. It started with a simple input field that tracked typing progress and grew into a pixel-art racing game with its own synthwave city.
You can play as a guest. Signing in (through my shared Keycloak) saves your races, coins and cars.
How it's built
- frontend: TanStack Start (React) with Tailwind and shadcn/ui. It also handles sign-in.
- api: a small Go service with
net/httpandpgx. Quotes, profiles, cosmetics, race history with keystroke replays, the daily challenge, leaderboards and friends. - ws: a separate Go service for the races themselves: matchmaking, rooms, countdowns, live progress and results, all in memory. It's separate because a WebSocket lives for minutes and belongs to one room, which is a very different shape from one-shot HTTP requests.
- Quotes come from quotes-crawler. The only thing the two projects share is the Postgres database.
The API started out planned in TypeScript (Elysia or Hono). It became Go once its first real job was clear: reading quotes with rules the crawler's Go code already defined. Writing those rules a second time in another language would have been duplication for nothing.
Browser tests with Playwright cover the main flows: solo, quick match, friends rooms, rejoining and ghosts.
