NebulaSketch

Real-time multiplayer drawing game with WebSocket-driven low-latency interaction. Uses Redis for session management and fuzzy matching for guess validation.

NebulaSketch screenshot

Overview

NebulaSketch is a fast-paced multiplayer drawing and social deduction web application engineered for zero-lag collaboration. Players draw prompts on an interactive HTML5 canvas while others guess the secret word in real time. The platform synchronizes vector brush strokes and canvas actions across clients using bidirectional WebSockets with sub-50ms latency. Redis powers the in-memory room state, turn rotations, and session management, while a Levenshtein-distance fuzzy string matching algorithm intelligently evaluates guesses to reward near-misses without spoiling the solution.

Key Architecture & Highlights

Sub-50ms bidirectional WebSocket sync streaming vector paths, brush opacity, and canvas actions

Distributed in-memory room coordination and player turn rotation backed by Redis key-value storage

Intelligent fuzzy string matching evaluating real-time guesses with typo tolerance and close-call hints

Rich HTML5 Canvas toolset featuring customizable brush widths, color palettes, eraser physics, and undo history

Technologies & Tools

WebSocketsRedisNode.jsCanvas APITypeScriptTailwind CSS

Source & Links

Browse More Projects