After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 540751 - Freecell solver not able to solve all solvable games
Freecell solver not able to solve all solvable games
Status: RESOLVED OBSOLETE
Product: aisleriot
Classification: Other
Component: general
pre-3.0
Other All
: Normal enhancement
: ---
Assigned To: aisleriot-maint
aisleriot-maint
Depends on:
Blocks:
 
 
Reported: 2008-06-29 12:58 UTC by Norman Jonas
Modified: 2021-06-02 11:35 UTC
See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement


Attachments
Screenshot of a solvable freecell game that the hinter cannot solve (98.73 KB, image/png)
2008-06-29 13:00 UTC, Norman Jonas
Details

Description Norman Jonas 2008-06-29 12:58:41 UTC
Please describe the problem:
Attached is a screenshot of a solvable freecell game. Using the hint button gives 8 hints and then aborts with the message that the game has no solution. Since I solved it its not true. This implies two bugs :

1. If a game has no solution the hint shouldnt give 8 hints before telling the user it is not solvable.
2. The hints should be able to solve any game that has a solution ( I dont know the actual algorithm but probably there is at least a recursive method to achieve this )

Steps to reproduce:
Not manually since it will be hard to get exactly this game again


Actual results:


Expected results:


Does this happen every time?


Other information:
Comment 1 Norman Jonas 2008-06-29 13:00:14 UTC
Created attachment 113611 [details]
Screenshot of a solvable freecell game that the hinter cannot solve
Comment 2 Norman Jonas 2008-06-29 13:02:34 UTC
I would like to add that this is not the first time ( 2.22.2.1 ) this happened to me. I experienced the same "bug" in previous versions as well.
Comment 3 Christian Persch 2008-06-29 17:22:24 UTC
Actually aisleriot has no freecell solver, just a (rather bad) hint algo. I agree it would be nice to have better hinting.
Comment 4 Praveen A 2010-07-05 15:33:55 UTC
A Solver similar to KPatience implementation would be useful. In KPatience after each move Solver indicates whether the game is solvable or not.
Comment 5 Christian Persch 2011-04-25 12:06:22 UTC
Mass-moving only open aisleriot bugs to the new product. Search for "aisleriot-mass-move" to filter them.
Comment 6 GNOME Infrastructure Team 2021-06-02 11:35:14 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/aisleriot/-/issues/95.