Bug 498008 (last, move, now, possible, row, with)

Summary: After last row is dealt, there is no further move possible
Product: [Applications] kpat Reporter: Heinrich Seebauer <heinrich.seebauer>
Component: generalAssignee: Stephan Kulow <coolo>
Status: RESOLVED NOT A BUG    
Severity: normal CC: aacid, kde-games-bugs-null
Priority: NOR    
Version First Reported In: 22.12.3   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Table before last row is dealt
Table after last row is dealt
game status befor last row is dealt
After dealing the last row, no further move is possible.

Description Heinrich Seebauer 2024-12-29 10:32:20 UTC
SUMMARY
After dealing the last row there is no further move possibe.
This game is in unsolvable.

STEPS TO REPRODUCE
1. Load attached game status
2. Deal last row

OBSERVED RESULT
After dealing the last row, no further move is possible. So the game is never winnable.

EXPECTED RESULT
After dealing the last row, there should be at least one possible move.

SOFTWARE/OS VERSIONS
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: Opensuse Leap 15.5
KDE Plasma Version: 5.27.9
KDE Frameworks Version: 
Qt Version: 5.15.8

ADDITIONAL INFORMATION
Comment 1 Heinrich Seebauer 2024-12-29 10:33:43 UTC
Created attachment 176942 [details]
Table before last row is dealt
Comment 2 Heinrich Seebauer 2024-12-29 10:36:04 UTC
Created attachment 176944 [details]
Table after last row is dealt
Comment 3 Heinrich Seebauer 2024-12-29 10:37:49 UTC
Created attachment 176945 [details]
game status befor last row is dealt
Comment 4 Albert Astals Cid 2025-01-24 13:18:43 UTC
"Table after last row is dealt" is a keepass screenshot.

Can you upload the actual screenshot?
Comment 5 Albert Astals Cid 2025-01-24 13:20:15 UTC
"After dealing the last row there is no further move possibe."

I don't understand this, do you mean that the game stops working and you can not drag the cards or that the situation of the cards means that there is no valid move possible?
Comment 6 Bug Janitor Service 2025-02-08 03:47:21 UTC
๐Ÿ›๐Ÿงน โš ๏ธ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME.

For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging.

Thank you for helping us make KDE software even better for everyone!
Comment 7 Heinrich Seebauer 2025-02-08 07:24:00 UTC
The situation of the cards means that there is no valid move possible.
To reproduce, load  attachment 'game status befor last row is dealt'. The other attachments are according screenshots.
Comment 8 Heinrich Seebauer 2025-02-08 07:28:28 UTC
Comment on attachment 176944 [details]
Table after last row is dealt

Sorry, posted the wrong screenshot. Please ignore.
Comment 9 Heinrich Seebauer 2025-02-08 07:31:49 UTC
Created attachment 178067 [details]
After dealing the last row, no further move is possible.
Comment 10 Albert Astals Cid 2025-02-10 23:13:11 UTC
So your complain is that the game tells you it can be won, then you deal the row and it tells you it can't be won anymore, right?
Comment 11 Heinrich Seebauer 2025-02-11 18:30:08 UTC
Please simply load attached file kpat-22.12.3_unsolvable_last_row.kpat (from: game status befor last row is dealt) into the  game and deal the last row. You will see that no further move will be possible.
Comment 12 Albert Astals Cid 2025-02-11 21:53:37 UTC
> You will see that no further move will be possible.

Why is this a bug?
Comment 13 Stephan Kulow 2025-02-12 06:22:53 UTC
That's just how spider works. If you follow the demo moves on your safe game, it will do 4 more moves before dealing the last row and then it continues to win. But the way the last line falls in your save game, it's just dead end.
Comment 14 Heinrich Seebauer 2025-02-12 08:16:51 UTC
So, if that's the way its meant to work, fine.
If its a dead end, I'm on the loose.
Thanks & Sorry for the effort I've caused