https://bugs.kde.org/show_bug.cgi?id=524949
Bug ID: 524949
Summary: kpat solver for Grandfather behaves as if cards must
be dropped when possible
Classification: Applications
Product: kpat
Version First 26.08.0
Reported In:
Platform: CachyOS
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: solver
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Target Milestone: ---
Created attachment 195611
--> https://bugs.kde.org/attachment.cgi?id=195611&action=edit
The state of the game claimed to be unwinnable; a redeal from here will cause
it to become winnable.
DESCRIPTION
When playing the game "Grandfather" in kpat, hints and the solver will both act
as if the only possible move when a card is able to be dropped is to drop that
card. This results in a limited selection of hints and can, on occasion,
result in the solver incorrectly asserting that the game is no longer winnable.
STEPS TO REPRODUCE
1. Start a new numbered deal of Grandfather, using number 1582896828
2. Move the 4 of diamonds (from column 5), the Jack of clubs (col 6), and the 6
of hearts (col 7).
3. Redeal.
4. Move the 6 of clubs (col 6), then the Jack of spades (col 3).
5. Check available hints.
6. Move the 7 of clubs (col 2), 2 of diamonds (col 7), Ace of diamonds (col 7).
7. Clear the Ace of hearts (col 3).
8. Move the 3 of hearts (col 5), 4 of hearts (col 3), 5 of hearts (col 1).
9. Check the solver.
10. Redeal.
11. Check the solver.
OBSERVED RESULT
At step 5: Only the Ace of hearts is presented as a valid move.
At step 9: "This game is no longer winnable."
At step 11: "This game is winnable."
EXPECTED RESULT
At step 5: All valid moves should be presented, including 7 of clubs, 2 of
diamonds, and 10 of spades.
At step 9: The game is still winnable and should be reported as such.
At step 11: Behavior is correct: This game is winnable.
SOFTWARE/OS VERSIONS
Operating System (available in the Info Center app, or by running `kinfo` in a
terminal window): CachyOS Linux
KDE Plasma Version: 6.7.4
KDE Frameworks Version: 6.29.0
Qt Version: 6.11.2
ADDITIONAL INFORMATION
This may be a bit silly, but I've been curious about whether this could occur
for awhile now, and I'm so glad to have finally discovered the answer. You
guys do great work, though. I quite enjoy KPatience. Keep it up!
--
You are receiving this mail because:
You are watching all bug changes.