The host has a hand on the other seats: once the duel begins, Seats makes a transfer phrase for another wizard's seat, which gives it a new token when claimed, and gives the seat of a wizard who cannot go on to a bot, which duels the turn it owes at once and keeps gestures already sealed; the wizard's token opens nothing while it stands in, their page goes to the gallery with the reason and a claim box, the roster says a bot duels for them, and a rematch holds their seat without the stand-in; the server pings every socket and closes one a dead browser left open
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0141G6xqLeNRYEtviLWSB5Up
This commit is contained in:
1 parent
a673ea9766
commit
f98bfba107
14 files changed
+438
-31
No files matched your search
@@ -20,8 +20,9 @@
|
||||
if (!duel.remote?.started || duel.state.over) return '';
|
||||
const w = duel.state.wizards[id];
|
||||
if (!w.alive || w.surrendered) return 'out';
|
||||
const bot = duel.remote.seats.find((s) => s.id === id)?.bot;
|
||||
if (bot) return '';
|
||||
const seat = duel.remote.seats.find((s) => s.id === id);
|
||||
if (seat?.standIn) return 'a bot duels for them';
|
||||
if (seat?.bot) return '';
|
||||
return waitingOn.includes(id) ? 'writing' : 'moved';
|
||||
}
|
||||
</script>
|
||||
|
||||
Reference in new issue
Block a user