feat(web): add Restart button to replay viewer
Build and Deploy / build-and-push (push) Successful in 4m31s

Splits the old single "⏮ Restart" button into two: "⏮ Restart" (resets
to step 0 with card fade-in from dealt positions) and "◀ Back" (steps
back one move at a time via fast-forward replay). Both are disabled at
step 0 and enabled after any forward step.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
funman300
2026-05-15 17:24:25 -07:00
parent a9285ccb41
commit 9d3cc94831
2 changed files with 12 additions and 0 deletions
+1
View File
@@ -30,6 +30,7 @@
<section id="board"></section>
<section id="controls">
<button id="btn-restart" disabled>⏮ Restart</button>
<button id="btn-prev" disabled>◀ Back</button>
<button id="btn-play">▶ Play</button>
<button id="btn-step">⏭ Step</button>