Repository navigation
feat(completion): add Play Again (same difficulty) CTA - #654
Merged
Merged
Conversation
Reverses SDD-003 Epic 4's "Close only" completion popup (product-approved). - CompletionOverlayScaffold gains optional onPlayAgain → "Play Again" (.borderedProminent, accent) above a demoted Close. Nil → byte-identical to before, so no completion snapshots move. - Both apps wire onPlayAgain to dismiss + re-present a fresh SAME-difficulty practice game via the existing drawPuzzle/presentGame path (Sudoku) / fresh-seed practice board (Minesweeper). - Daily boards are Close-only: guarded by SudokuLeaderboardRouting.isDaily (Sudoku) and mode == .practice (Minesweeper), since a daily is one-per-day and Play Again would otherwise hand back a practice puzzle. - L10n: "Play Again" added to both catalogs, all 7 locales translated (es/ja/ko/th/zh-Hans/zh-Hant), Sudoku test fixture regenerated; scan:l10n green. GameShellKit 21 / SudokuKit 260 / MinesweeperKit 173 pass; swiftlint --strict 0. Closes #652 Co-Authored-By: Claude <[email protected]>
This was referenced Jun 30, 2026
wei18
added a commit
that referenced
this pull request
Jun 30, 2026
Extends the 2026-06-29 sim-audit log with the follow-on fixes (#646/#651/#654/#655), the Play Again arc, and four Leader-caught agent defects (Daily fork, placeholder L10n, catalog-reformat bleed, compile error masked by an incremental build). Co-authored-by: Claude <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #652. Reverses SDD-003 Epic 4's "Close only" completion popup (product-approved in the 2026-06-29 sim UX audit).
What
CompletionOverlayScaffoldgains an optionalonPlayAgain→ a "Play Again" (.borderedProminent, accent) button above a demoted Close. When nil, layout is byte-identical, so no completion snapshots moved.SudokuLeaderboardRouting.isDaily(Sudoku) andmode == .practice(Minesweeper).scan:l10ngreen.Verify
GameShellKit 21 / SudokuKit 260 / MinesweeperKit 173 pass;
scan:l10ngreen;swiftlint --strict0.🤖 Generated with Claude Code