Design Chess.com (Online Chess Game)

Medium · System Design

Design a real-time two-player online chess service with matchmaking, WebSocket move delivery, server-authoritative clocks, and disconnect/reconnect handling, and implement increment clocks, move-number idempotency, and resync snapshots.

This is a Pro problem. Pro unlocks the full prompt, a step-by-step walkthrough, a reference solution and tests you can run.

See Pro plans

More OpenAI problems