LogiQuest
Initializing Logic Grid
LogiQuest is a high-fidelity competitive programming workbench. Here is a look behind the scenes at the architecture, primary stack, and advanced engineering challenges solved during construction.
Synchronizing state across separate client workspaces during Head-to-Head coding battles. Implemented a Redis-backed queue logic combined with WebSocket events to safely pair coders, distribute challenges, run timers, and update leaderboards dynamically without database race conditions.
Executing arbitrary user-submitted code securely while maintaining sub-second feedback. Configured isolated runtime environments using the Judge0 API. Developed a BullMQ job distribution pattern backed by persistent worker scripts to queue, execute, and verify code execution memory/time limits without stalling the primary Node.js process.
Providing step-by-step guidance without exposing direct code solutions. Created a custom system prompt that digests compilation logs, AST structures, and previous submission history to guide users through progressive hints (Logic Analysis, Edge Case Checks, and Complexity Optimizations).
React Server Components, SSR, and dynamic route handlers.
Typesafe database access, complex relation maps, and automatic migrations.
Relational database for storing user profiles, submissions, problems, and study plans.
Lobby synchronization, matchmaking queues, rate limiting, and BullMQ queues.
Persistent bidirectional WebSocket connections for Head-To-Head coding matches.
Reliable background task runner for asynchronous code execution and evaluation.
VS Code's core editing engine with auto-completion, syntax coloring, and error markers.
Generative AI API integration powering the contextual Code Coach feedback loop.
I am a software engineer focused on building highly responsive, performance-driven web applications. This workspace demonstrates clean architecture, scalable task distribution, and dynamic client-side visualizers.