Bug 458429

Summary: Game Grandfather shows "This game is winnable" while it is not
Product: [Applications] kpat Reporter: mila <mila>
Component: solverAssignee: Stephan Kulow <coolo>
Status: RESOLVED NOT A BUG    
Severity: normal CC: aacid, kde-games-bugs-null, omerusta
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Example screenshot of unwinnable state.
Game file

Description mila@runnwerth.net 2022-08-28 13:41:49 UTC
Created attachment 151664 [details]
Example screenshot of unwinnable state.

As the screenshot shows the solver in the game Grandfather shows "This game is winnable" while it is obviously not
Comment 1 Albert Astals Cid 2022-08-28 21:40:14 UTC
Can you please save the game and attach the saved file here when that happens?
Comment 2 Ömer Fadıl USTA 2022-08-29 00:48:07 UTC
@Albert :  I dont know this version of game ( i mean grandfather) but when i follow this steps
it looks like game is cheating to win.
1 - Start kpatience
2 -  Ctrl + D  to start deal
3 -  enter 1217635303 as deal number
4- Pres demo button and wait until step 79
5 - step 80 is an illegal move pause and undo move
6- it is not possible to do same step ( 80 )
Comment 3 mila@runnwerth.net 2022-08-29 07:37:28 UTC
Created attachment 151675 [details]
Game file

Here the requested saved game. This is just an obvious example of a bug that seems to appear often.
Comment 4 Stephan Kulow 2023-01-18 10:52:03 UTC

*** This bug has been marked as a duplicate of bug 403564 ***
Comment 5 Stephan Kulow 2023-01-19 11:09:26 UTC
https://docs.kde.org/stable5/en/kpat/kpat/rules-specific.html#grandfather says "If there are no more possible moves, you can redeal the cards." - and that's what Move 80 is. You can trigger it from the toolbar.
Comment 6 Stephan Kulow 2023-01-19 11:14:35 UTC
Not actually a duplicate