Isolated Sandbox Execution
Every game executes inside an isolated <iframe sandbox="allow-scripts allow-pointer-lock"> served from /runtime/:slug/index.html with strict Content-Security-Policy headers and zero access to parent cookies or storage.
Linear-Time O(N) Sanitizer
Before saving any generated HTML bundle, src/services/gameSanitizer.mjs runs a deterministic linear-time O(N) WHATWG HTML5 & CSS Syntax Level 3 pass plus Node.js V8 vm.Script syntax verification to strip external network leaks and prevent ReDoS vectors.
YourPlaygroundSDK Telemetry API
// Signal that the game loop is live and interactive
window.YourPlaygroundSDK.ready({ title: 'Neon Odyssey' });
// Stream live score updates to the stage HUD
window.YourPlaygroundSDK.reportScore(1250);
// Conclude a run and populate the leaderboard form
window.YourPlaygroundSDK.gameOver(4800);