ASAysha Shafiq
REAL-TIME SYSTEMS · COLLABORATIVE GAME

Target Anagram

I built Target Anagram, a daily word puzzle where players make as many words as they can from a grid of nine letters. You can play solo or team up with up to three friends in real time, finding words together to build a shared score. The game reached 100+ daily active users and uses React/TypeScript, Cloudflare Workers and Durable Objects for live multiplayer, and D1 for accounts and leaderboards.A daily nine-letter word puzzle: play solo or find words with up to three friends to build a shared score.

100+ daily active users
Live four-player word games
Accounts and leaderboards

Cloudflare real-time architecture

A Cloudflare Durable Object owns each four-player room, serializes concurrent submissions, maintains authoritative state beside its WebSockets, persists room updates, and hibernates when idle.

Validated daily-puzzle generation

Gemini proposes daily rule variants from board statistics. Deterministic code clamps every field, validates the rules against the board, re-solves the puzzle, and falls back to a table-driven configuration on any model or network failure.

Server-authoritative scoring and persistence

The Worker validates dictionary membership, timestamps submissions, calculates scores, and stores accounts, runs, history, and leaderboard data in D1. The React client performs only immediate structural checks before sending a word.

From prototype to players

I shipped the React frontend in one day, prototyping and iterating on designs while checking the result with Vitest and Playwright. The four-player game reached more than 100 daily active users.

SmolLM Alignment LabSecond Time AroundAI-Generated Code Reliability