• Mahmoud Aglan's avatar
    fix: a bot outage no longer freezes the board on "thinking…" · 231ba42e
    Mahmoud Aglan authored
    requestBotMove retried forever on failure and did nothing at all when the engine
    answered without a move, so a Stockfish hiccup left the player watching the
    thinking indicator with no way to continue.
    
    Now: four attempts with exponential backoff, then a dialog offering to end the
    game. Also guards against gameState having been torn down mid-request.
    
    The engine itself is healthy — verified live: GET /api/chess/bots returns the
    seven bots the client expects, and POST /api/chess/move answers the start
    position with d2d4 at depth 3. api/bots.php's paths are correct.
    
    Arabic and English strings added for the new message.
    Co-Authored-By: 's avatarClaude Opus 5 (1M context) <noreply@anthropic.com>
    231ba42e
Name
Last commit
Last update
..
audio.js Loading commit data...
bus.js Loading commit data...
canvas.js Loading commit data...
config.js Loading commit data...
hud.js Loading commit data...
i18n.js Loading commit data...
input.js Loading commit data...
juice.js Loading commit data...
match-live.js Loading commit data...
match-session.js Loading commit data...
match-ui.js Loading commit data...
modal.js Loading commit data...
multiplayer.js Loading commit data...
native-bridge.js Loading commit data...
net.js Loading commit data...
player-panel.js Loading commit data...
realtime.js Loading commit data...
scene.js Loading commit data...
store.js Loading commit data...
theme.js Loading commit data...
tournament-session.js Loading commit data...
tween.js Loading commit data...