[kpat] [Bug 290647] Forty & Eight solver falsely reports "Game cannot be won"

2020-08-07 Thread Ian Wadham
https://bugs.kde.org/show_bug.cgi?id=290647

--- Comment #16 from Ian Wadham  ---
Created attachment 130721
  --> https://bugs.kde.org/attachment.cgi?id=130721=edit
Image of winnability of the saved game - att. 130719

This is an image of the same game as in image 130720, but about 20 moves later,
after the 5 of Diamonds on the right has been played. The game is now
designated as solvable, contradicting what the Solver said before.

-- 
You are receiving this mail because:
You are watching all bug changes.

[kpat] [Bug 290647] Forty & Eight solver falsely reports "Game cannot be won"

2020-08-07 Thread Ian Wadham
https://bugs.kde.org/show_bug.cgi?id=290647

--- Comment #15 from Ian Wadham  ---
Created attachment 130720
  --> https://bugs.kde.org/attachment.cgi?id=130720=edit
Image of cards in the saved game - att. 130719

In this image, the 4 of Diamonds has just been played to a Foundation pile.
There are now two 5s of Diamonds that can be played next, but the Solver and
Autodrop always choose the one on the left (as shown in the highlighting of the
Hint). This leads to a "no win" situation. If the 5 of Diamonds on the right is
played, winnability becomes undetermined, but about 20 moves later the Solver
finds that the game is winnable.

-- 
You are receiving this mail because:
You are watching all bug changes.

[kpat] [Bug 290647] Forty & Eight solver falsely reports "Game cannot be won"

2020-08-07 Thread Ian Wadham
https://bugs.kde.org/show_bug.cgi?id=290647

--- Comment #14 from Ian Wadham  ---
Created attachment 130719
  --> https://bugs.kde.org/attachment.cgi?id=130719=edit
False report of "Game cannot be won"

Saved KPatience game - can be used as a test case for this bug (290647).

-- 
You are receiving this mail because:
You are watching all bug changes.

[kpat] [Bug 290647] Forty & Eight solver falsely reports "Game cannot be won"

2020-07-18 Thread Ian Wadham
https://bugs.kde.org/show_bug.cgi?id=290647

Ian Wadham  changed:

   What|Removed |Added

 Status|CONFIRMED   |ASSIGNED
   Assignee|co...@kde.org   |iandw...@gmail.com

-- 
You are receiving this mail because:
You are watching all bug changes.

[kpat] [Bug 290647] Forty & Eight solver falsely reports "Game cannot be won"

2020-07-18 Thread Ian Wadham
https://bugs.kde.org/show_bug.cgi?id=290647

--- Comment #13 from Ian Wadham  ---
I know how to fix this problem --- patches are being prepared.

Actually there are two problems. The first is where the Forty & Eight solver
fails to report both cards as possible moves when there are two cards of the
same suit and rank that can "go out" onto a Foundation pile. The second is
that, even if both cards are reported to the generic solver and Hint action,
Autodrop plays the first one in the list onto the Foundation, thus making the
second card unplayable. That card might be a winner and the first card might be
a loser or either card might at least be a better or preferred move, which
would improve your chances of winning.

-- 
You are receiving this mail because:
You are watching all bug changes.

[kpat] [Bug 290647] Forty & Eight solver falsely reports "Game cannot be won"

2020-07-18 Thread Ian Wadham
https://bugs.kde.org/show_bug.cgi?id=290647

Ian Wadham  changed:

   What|Removed |Added

 CC||saur...@gmail.com

--- Comment #12 from Ian Wadham  ---
*** Bug 374440 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are watching all bug changes.

[kpat] [Bug 290647] Forty & Eight solver falsely reports "Game cannot be won"

2020-07-18 Thread Ian Wadham
https://bugs.kde.org/show_bug.cgi?id=290647

Ian Wadham  changed:

   What|Removed |Added

 CC||ckju...@gmail.com

--- Comment #11 from Ian Wadham  ---
*** Bug 351989 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are watching all bug changes.

[kpat] [Bug 290647] Forty & Eight solver falsely reports "Game cannot be won"

2018-11-12 Thread Duncan Kinnear
https://bugs.kde.org/show_bug.cgi?id=290647

--- Comment #10 from Duncan Kinnear  ---
Created attachment 116273
  --> https://bugs.kde.org/attachment.cgi?id=116273=edit
Illegal 2-card move shown in the highlighted hints

Illegal 2-card move shown in the highlighted hints

-- 
You are receiving this mail because:
You are watching all bug changes.

[kpat] [Bug 290647] Forty & Eight solver falsely reports "Game cannot be won"

2018-11-12 Thread Duncan Kinnear
https://bugs.kde.org/show_bug.cgi?id=290647

--- Comment #9 from Duncan Kinnear  ---
Created attachment 116272
  --> https://bugs.kde.org/attachment.cgi?id=116272=edit
Another saved game with illegal 2-card hint

Another day, another game, same fault. :-)
I will also attach the screenshot showing the illegal move hint

-- 
You are receiving this mail because:
You are watching all bug changes.

[kpat] [Bug 290647] Forty & Eight solver falsely reports "Game cannot be won"

2018-11-11 Thread Duncan Kinnear
https://bugs.kde.org/show_bug.cgi?id=290647

--- Comment #8 from Duncan Kinnear  ---
Created attachment 116253
  --> https://bugs.kde.org/attachment.cgi?id=116253=edit
Screenshot showing the illegal move highlighted in the Hints

-- 
You are receiving this mail because:
You are watching all bug changes.

[kpat] [Bug 290647] Forty & Eight solver falsely reports "Game cannot be won"

2018-11-11 Thread Duncan Kinnear
https://bugs.kde.org/show_bug.cgi?id=290647

--- Comment #7 from Duncan Kinnear  ---
Created attachment 116252
  --> https://bugs.kde.org/attachment.cgi?id=116252=edit
Saved game at the point where the solver 'cheated'

I have attached a saved game file for "Forty & Eight" at the point that the
Solver said it was winnable, and the next move that the demo solver uses is
illegal (2-card transfer).
I will attach screenshot before this move showing the hints.

-- 
You are receiving this mail because:
You are watching all bug changes.

[kpat] [Bug 290647] Forty & Eight solver falsely reports "Game cannot be won"

2018-11-07 Thread Andrew Crouthamel
https://bugs.kde.org/show_bug.cgi?id=290647

Andrew Crouthamel  changed:

   What|Removed |Added

 Resolution|WAITINGFORINFO  |---
 CC||andrew.crouthamel@kdemail.n
   ||et
 Ever confirmed|0   |1
 Status|NEEDSINFO   |CONFIRMED

--- Comment #6 from Andrew Crouthamel  ---
Thanks for the update!

-- 
You are receiving this mail because:
You are watching all bug changes.

[kpat] [Bug 290647] Forty & Eight solver falsely reports "Game cannot be won"

2018-11-06 Thread Ian Wadham
https://bugs.kde.org/show_bug.cgi?id=290647

Ian Wadham  changed:

   What|Removed |Added

 CC||iandw...@gmail.com

--- Comment #5 from Ian Wadham  ---
Like Duncan, I play Forty and Eight a lot... :-) ...and get this same bug.

FWIW the solver sometimes also gives false positives re winning. I think this
happens when its "winning" sequence includes an illegal move. I can overcome
that by using Undo and then one or two moves of Demo to get past the illegal
move and go on to win... ;-) i.e. Demo permits the same illegal move as solver.

IIRC the illegal move is to move two cards that are not consecutive, although
(I seem to remember) the two cards are in the same suit.

I doubt now if I shall ever get around to having a go at fixing these bugs, but
if you are interested, Parker, I could try and capture more details next time
it happens. It's nice to see you around again... :-)

-- 
You are receiving this mail because:
You are watching all bug changes.

[kpat] [Bug 290647] Forty & Eight solver falsely reports "Game cannot be won"

2018-11-06 Thread Duncan Kinnear
https://bugs.kde.org/show_bug.cgi?id=290647

--- Comment #4 from Duncan Kinnear  ---
Hi there, I play this game (version 3.6) almost every day, and it quite often
reports "This game cannot be won" and I never trust it, and occasionally it's
wrong and I can win it.

I will try saving each game of "Forty & Eight" I play and if this scenario
comes up I'll attach the saved game.

It's certainly not a biggie. :-)

-- 
You are receiving this mail because:
You are watching all bug changes.

[kpat] [Bug 290647] Forty & Eight solver falsely reports "Game cannot be won"

2018-11-06 Thread Andrew Crouthamel
https://bugs.kde.org/show_bug.cgi?id=290647

Andrew Crouthamel  changed:

   What|Removed |Added

 Status|REPORTED|NEEDSINFO
 Resolution|--- |WAITINGFORINFO

--- Comment #3 from Andrew Crouthamel  ---
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!

-- 
You are receiving this mail because:
You are watching all bug changes.