Fix draw-swap animation race and smarter CPU go-out decisions

Increase post_draw_settle timing (1.1s→1.3s) and swap retry delay
(100ms→350ms) to prevent draw animation from being cut short by the
arriving swap animation. Also make CPU go-out decisions consider
opponent scores and avoid swapping high cards (8+) into hidden slots.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
adlee-was-taken
2026-02-23 20:57:59 -05:00
parent 9a5bc888cb
commit 17f7d8ce7a
2 changed files with 23 additions and 6 deletions

View File

@@ -1127,7 +1127,7 @@ class CardAnimations {
});
// Now run the swap animation
this._runUnifiedSwap(handCardData, heldCardData, handRect, heldRect, discardRect, T, rotation, wasHandFaceDown, onComplete);
}, 100);
}, 350);
return;
}