Bug 337950 - kpat mod3 says "no longer winnable", but there is a move that makes it winnable again
Summary: kpat mod3 says "no longer winnable", but there is a move that makes it winnab...
Status: RESOLVED FIXED
Alias: None
Product: kpat
Classification: Applications
Component: solver (show other bugs)
Version: 3.6
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Stephan Kulow
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-01 04:32 UTC by phma
Modified: 2023-01-19 20:48 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
saved mod3 position (24.18 KB, application/vnd.kde.kpatience.savedgame)
2014-08-01 04:33 UTC, phma
Details
screenshot of mod3 position (724.27 KB, image/png)
2014-08-01 04:35 UTC, phma
Details
Saved position of kpat 3.6 mod3 (25.00 KB, application/vnd.kde.kpatience.savedgame)
2018-11-12 04:14 UTC, phma
Details
Saved mod3 position (25.58 KB, application/vnd.kde.kpatience.savedgame)
2021-07-20 08:25 UTC, pavla.kratochvilova
Details

Note You need to log in before you can comment on or make changes to this bug.
Description phma 2014-08-01 04:32:22 UTC
Move the 4 of spades that is on the 3 of clubs to the blank space right of the queen. The solver says "This game is no longer winnable." Then move the 9 of spades that's left of the king to the blank space left of the 7. The solver now says "This game is winnable".

Reproducible: Always

Steps to Reproduce:
1. Start Kpat
2. Load mod3bug.kpat
3. Move the 4
4. Move the 9
Actual Results:  
Solver says "This game is no longer winnable", then says "This game is winnable".

Expected Results:  
Should say "This game is winnable" after moving the 4. There should not be any position for which it says "This game is no longer winnable" from which any move other than the undo button makes it say "This game is winnable" or "Unable to determine whether this game is winnable".
Comment 1 phma 2014-08-01 04:33:58 UTC
Created attachment 88072 [details]
saved mod3 position
Comment 2 phma 2014-08-01 04:35:20 UTC
Created attachment 88073 [details]
screenshot of mod3 position
Comment 3 Andrew Crouthamel 2018-11-12 02:53:36 UTC
Dear Bug Submitter,

This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond.

Thank you for helping us make KDE software even better for everyone!
Comment 4 phma 2018-11-12 04:11:07 UTC
This bug is still valid. It happened again on 2018-09-26:

3C -> empty space : no longer winnable
6C->3C, 9H->6H, 8D->5D, 2C->empty, 9C->6C, 5H->2H, 5C->2C, 8H->5H
Now move 10C to the empty space two spaces to its left, and it says it's winnable again!
JH->8H
Comment 5 phma 2018-11-12 04:14:59 UTC
Created attachment 116254 [details]
Saved position of kpat 3.6 mod3
Comment 6 Andrew Crouthamel 2018-11-12 16:30:06 UTC
Thanks for the update!
Comment 7 pavla.kratochvilova 2021-07-20 08:23:50 UTC
This bug is still valid. I ran into it in version: kpat-20.08.1-1.fc33.x86_64

I'll attach a saved game that is "no longer winnable" and after moving queen of hearts to the empty space, it's winnable again.
Comment 8 pavla.kratochvilova 2021-07-20 08:25:02 UTC
Created attachment 140207 [details]
Saved mod3 position