https://bugs.kde.org/show_bug.cgi?id=407969

            Bug ID: 407969
           Summary: Hint system should not suggest unwinnable states
           Product: kpat
           Version: 3.6
          Platform: Debian unstable
                OS: Linux
            Status: REPORTED
          Severity: minor
          Priority: NOR
         Component: solver
          Assignee: co...@kde.org
          Reporter: et...@tague.me
                CC: kde-games-b...@kde.org
  Target Milestone: ---

SUMMARY

The hint system, at least in the case of Klondike, will suggest moves that will
put the game into an unwinnable state.

STEPS TO REPRODUCE
1. Begin a game of Klondike
2. Play to the point where a move could be made that makes the game unwinnable
according to the solver, and where the hint system suggests a poor move
3. Press 'hint'
4. Follow the movement the hint suggests

OBSERVED RESULT

Following suggested movement causes the solver to immediately report that the
game is no longer solvable.

EXPECTED RESULT

Hint system should verify that the hint given does not put the game into an
unwinnable state, and if so, provide an alternative hint.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Debian 10 Buster - Linux 4.19.0-5-686-pae - i686
KDE Frameworks Version: Unsure, possibly `4:17.08.3` (reported for
`kde-runtime`)
Qt Version: 5.11.3 (as reported by apt for `qt5-default`)

ADDITIONAL INFORMATION

NA

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

Reply via email to