- Update `handleLogEffects` to accept an `onDone` callback, ensuring post-state logic (unblocking input, updating UI) only executes after visual effects complete. - Introduce `animateForcedDraw` to display a prominent "+N" banner and animate card draws with custom timing parameters. - Refactor `animateBatchDraw` to support configurable `flyDuration` and `stagger` via a `timing` object. - Apply the new callback pattern across all move execution paths (`playCard`, `drawCard`, AI moves) to prevent race conditions and ensure consistent animation flow. |
||
|---|---|---|
| .. | ||
| assets | ||
| data | ||
| src | ||
| index.html | ||
| styles.css | ||