From 1906821452163f276ee91dfc85b45ab99642f3e7 Mon Sep 17 00:00:00 2001 From: Dorian Date: Sat, 7 Mar 2026 15:46:16 +0000 Subject: [PATCH] =?UTF-8?q?fix:=20human=20fight=20UX=20=E2=80=94=20SSE=20c?= =?UTF-8?q?hallenge=20input,=20fighter=20sprites,=20battle=20log=20questio?= =?UTF-8?q?ns,=20left-side=20positioning?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Add SSE human_challenge listener for instant input activation with auto-focus - Buffer challenges during 3s round cooldown, apply with correct remaining time - Map 'human' archetype to fighter-looking archetypes (boxer, ninja, etc.) in sprite system - Show challenge questions in battle log via round_start SSE events - Ensure human players are always botA (left side) in queue matchmaking Co-Authored-By: Claude Opus 4.6 --- frontend/src/pages/BotProfilePage.vue | 558 +++++++++++++------------- frontend/src/pages/FightPage.vue | 63 ++- server/src/engine/queue.ts | 7 +- 3 files changed, 352 insertions(+), 276 deletions(-) diff --git a/frontend/src/pages/BotProfilePage.vue b/frontend/src/pages/BotProfilePage.vue index a73e842..eae7cfd 100644 --- a/frontend/src/pages/BotProfilePage.vue +++ b/frontend/src/pages/BotProfilePage.vue @@ -267,8 +267,8 @@ const tierClass = (t: number) => `tier-${t}`