Full-Stack Multiplayer Chess Platform Built and deployed a production-grade multiplayer chess platform with real-time gameplay, a custom-tuned chess engine, in-game chat, inbox messaging, game archives, and move-by-move replay. Technical Highlights 1. Implemented resilient WebSocket connections with exponential backoff reconnection (5 attempts) and server-side reconnect event handling, allowing players to rejoin active games without losing state. 2. Stored active game state in Redis and persisted completed games to PostgreSQL. Managed frontend state with Zustand. 3. Enforced double-layer move validation using chess.js on both client and server. Invalid moves are rejected and corrected server-side. 4. Optimized chat performance through batched database writes. Messages are delivered instantly via WebSockets and persisted every 2 seconds, reducing database write pressure while maintaining real-time UX. 5. Used Web Workers for move calculations and timer updates, preventing main-thread blocking and ensuring a responsive UI during complex positions. 6. Leveraged Node.js Worker Threads for CPU-intensive tasks, keeping the event loop responsive under compute-heavy workloads. 7. Applied rate limiting across both HTTP APIs and WebSocket connections. 8. Integrated BullMQ for background job processing and Redis-based caching throughout the application. 9. Implemented secure cookie-based authentication using better-auth. Stack Next.js, Node.js, TypeScript, Redis, PostgreSQL, BullMQ, Zustand, chess.js, better-auth Deployment Frontend: Vercel Backend: Hugging Face Link - https://rohit-chess-app.vercel.app