Inspiration

I've always been obsessed with word games, but let's be honest - most of them are painfully slow. Sitting through a Scrabble game where someone takes 10 minutes to play "CAT" for 5 points is torture. I wanted to create the adrenaline rush of speed chess, but for words. The idea was simple: give players some letters and see who can build the best words the fastest. No waiting, no turns, just pure vocabulary chaos.

What it does

WordRace is a real-time multiplayer word racing game where 2 players compete to build the highest-scoring words from a shared set of letters. Each round lasts 60 seconds, and players frantically type words while watching their opponents' scores climb in real-time. The game features multiple rounds with increasing difficulty, culminating in a final "magic word" challenge where players must find a specific hidden word in the letter set. It's like Boggle meets speed typing meets competitive esports.

How we built it

We built WordRace using bolt.new for the hackathon, which was honestly a game-changer for rapid prototyping. The Bolt AI helped generate the React + TypeScript structure while I focused on the game mechanics.

Tech Stack:

  • React 18 + TypeScript for the frontend
  • Socket.IO for real-time multiplayer communication
  • Node.js + Express backend
  • Tailwind CSS for styling (because I can't design)
  • Vite for fast development builds

Game Architecture:

  • Custom game engine managing multiple concurrent rooms
  • Real-time state synchronization across all players
  • Dynamic letter generation with vowel/consonant balance
  • Comprehensive English dictionary with 170K+ filtered words

bolt.new handled all the tedious boilerplate setup, letting me dive straight into building the fun parts like the scoring system and multiplayer logic.

Challenges we ran into

Dictionary Nightmare: Our first dictionary was a disaster - 466K+ "words" including numbers ("2", "1080"), abbreviations ("&c"), and technical jargon, while rejecting common words like "running" and "played." Spent days finding and filtering a proper English word list.

The Great Disconnect Disaster: Players kept mysteriously disappearing mid-game. My original disconnect handling was terrible - when someone closed their browser, it would break the entire game for everyone else. Had to completely rewrite the disconnect logic with proper cleanup.

Letter Roulette: Our "random" letter generation wasn't random at all. Players got identical letter sets across rounds, and sometimes different players saw completely different letters in the same round. Debugging real-time synchronization issues is like solving a puzzle while blindfolded.

Real-time is BRUTAL: Keeping 2 players perfectly synchronized while they're frantically typing and submitting words is incredibly complex. Race conditions everywhere.

Accomplishments that we're proud of

(1) Actually works in real-time

(2) Clean, addictive gameplay

(3) Robust dictionary: 170K+ properly filtered English words that actually make sense

(4) Graceful failure handling: The game now survives player disconnects, network hiccups, and edge cases

(5) Lightning-fast development: bolt.new helped us go from idea to playable game incredibly quickly

What we learned

Real-time multiplayer is deceptively complex - synchronization issues lurk everywhere

Dictionary curation is an art - finding the balance between comprehensive and practical

Players will break your game in ways you never imagined - they're incredibly creative at finding edge cases

bolt.new genuinely accelerates development - AI-assisted coding isn't just hype when used right

Game feel matters more than perfect code - that moment when someone finds a clutch word in the final seconds makes all the bugs worth it

WebSocket state management is its own special kind of hell - but incredibly rewarding when it works

What's next for WordRace

Tournament Mode: Bracket-style competitions with spectator support and leaderboards

Custom Dictionaries: Let players choose themed word sets (science, movies, slang) or upload their own

Spectator Mode: Let friends watch games in progress with real-time commentary

Advanced Analytics: Word frequency analysis, player improvement tracking, and performance insights

Social Features: Friend systems, challenges, and replay sharing

The dream is to make WordRace the go-to competitive word game - fast, fair, and addictive enough that people organize tournaments in their Discord servers.

Share this project:

Updates