gitflarePublicPartly agent-ready40
neon-drift
Real-time multiplayer arcade racer on Cloudflare Workers and Durable Objects.
- LicenseApache-2.0
- LanguageJavaScript
- Last landed
3efe3daOct 23, 2026
Add the Apache-2.0 licence
3efe3da<!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=no,viewport-fit=cover"><title>Neon Drift</title><link rel="stylesheet" href="/style.css"></head><body><canvas id="game"></canvas><div id="hud" hidden> <div id="card" class="panel"> <i id="swatch"></i> <div class="cardtxt"><b id="hud-name"></b><span id="hud-score">0</span></div> <div id="boost" aria-label="boost"><i></i><i></i><i></i><i></i><i></i><i></i><i></i><i></i><i></i><i></i></div> </div> <div id="top" class="panel"> <span id="hud-alive"></span> <span id="hud-time"></span> <span id="ring"><svg viewBox="0 0 36 36"><circle class="bg" cx="18" cy="18" r="15"/><circle id="ring-fg" cx="18" cy="18" r="15"/></svg><b id="hud-shrink"></b></span> </div> <button id="invite" type="button" class="panel">Room <b id="hud-code"></b> · copy invite</button> <div id="killfeed"></div> <div id="big"></div> <div id="banner" hidden></div> <div id="waitcard" class="panel" hidden><button id="wait-copy" type="button">Copy invite</button><p>← → / A D steer · Space boost · touch: hold a side</p></div> <div id="elim" hidden></div> <button id="mute" type="button" class="panel">🔊</button> <span id="hud-debug"></span></div><div id="badges"><span id="b-spec" hidden>spectating</span><span id="badge" hidden>reconnecting…</span></div><div id="results" class="panel" hidden><h2 id="res-title">Results</h2><div id="res-list"></div><p id="res-me"></p><p id="res-next"></p><div class="row"><button id="res-copy" type="button">Copy invite</button><button id="res-leave" type="button">Leave</button></div></div><div id="join" hidden> <form class="sheet panel" id="join-form"> <h2>Room <b id="join-code"></b></h2> <input id="join-name" maxlength="16" placeholder="Your name" autocomplete="off"> <button id="join-btn" type="submit" class="primary">Join</button> </form></div><main id="menu"> <div class="hero"> <h1>NEON<br>DRIFT</h1> <p class="tag">Light-cycle battle royale. Last one riding wins.</p> <p id="live" class="live">…</p> <p id="winners" class="live"></p> <input id="name" maxlength="16" placeholder="Your name" autocomplete="off"> <div class="row"><button id="quick" type="button" class="primary">Quick play</button> <button id="create" type="button">Create private room</button></div> <p id="msg"></p> </div> <div class="cols"> <section class="panel"><h3>Leaderboard</h3><div id="lb" class="lb"><p class="empty">Loading…</p></div></section> <section class="panel"><h3>How to play</h3><div class="how"> <p><kbd>←</kbd><kbd>→</kbd> or <kbd>A</kbd><kbd>D</kbd> steer</p> <p><kbd>Space</kbd> boost</p> <p>Touch: hold a bottom corner to turn, tap the bolt to boost</p> <p>Avoid trails and the edge. Grab orbs. Outlast the shrinking arena.</p></div></section> </div></main><script type="module" src="/app.js"></script></body></html>