Bug 473053

Summary: Kpat Misleading solver response on new games.
Product: [Applications] kpat Reporter: Alan <al.knepper>
Component: solverAssignee: Stephan Kulow <coolo>
Status: RESOLVED NOT A BUG    
Severity: minor CC: kde-games-bugs-null
Priority: NOR    
Version First Reported In: 23.04.3   
Target Milestone: ---   
Platform: Mint (Ubuntu based)   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Alan 2023-08-05 21:27:52 UTC
SUMMARY

STEPS TO REPRODUCE
Pick Castle
Continue to pick a new game till one is created that cannot be solved.

OBSERVED RESULT
Solver says "The game is lost"

EXPECTED RESULT
I think this is a bit misleading.
Reading that I think I've lost a game and my stats will now show one game lost.
Mod3 will say "Unable to determine if this game is winable."
Seems most of the other games say the same as Mod3.

SOFTWARE/OS VERSIONS
Linux Mint 20.3

ADDITIONAL INFORMATION
Flatpak version.
Comment 1 Stephan Kulow 2023-08-06 05:13:39 UTC
this means there is no possible move in the initial deal. It's lost! If you would shuffle a patience game in real life, you would have "lost" it as well. So even adding it to your stats would be fair IMHO, because at the end of the day the stats want to show you how many deals you could solve. But I don't think we count games without moves.
Comment 2 Alan 2023-08-06 12:05:03 UTC
I can see your point.  Yes, the game is not charged in the loss column.   
So I guess there is a difference between 'can't be determined' and 'lost'.   One is iffy, the other is definite.  
I've marked it resolved.
Comment 3 Stephan Kulow 2023-08-06 13:25:47 UTC
there is "lost" when there is no possible move, "cannot be won" if every move leads to a loss and "can't determine" if the solver just doesn't know (most patiences have too many ways to play them to be certain all are losing)