GNOME Bugzilla – Bug 65242
seahaven ruleset seems a bit buggy
Last modified: 2012-01-31 23:23:36 UTC
occasionally when playing with the Seahaven rules, it will occasionally incorrectly detect the end of the game. This is particularly annoying, as the game is potentially winable when this happens. Unfortunately, I haven't worked out a reliable way to reproduce the bug -- it doesn't always happen when playing.
Am assuming this hasn't been fixed and so is still relevant to GNOME2.0 port.
I haven't managed to reproduce this bug, but if you undo a move to the reserve then the program looses track of how many free slots there are in the reserve. This could potentially cause the behaviour described. In any event the bug affects other aspects of play (for example you can't move a stack of cards that you should be able to because the program thinks it's too long, but you can if you move them one at a time to the reserve and then down to the new location). I have included a patch below. I should note that the whole "game over" thing in seahaven is rather abrupt: there's no chance for you to undo the last move and try something different.
Created attachment 11278 [details] [review] A patch to fix a bug in the handling of undo in seahaven.scm
Whoops, the previous patch forgot to save the score. Try the next patch.
Created attachment 11279 [details] [review] Revised patch to handle undo events in seahaven.scm
*** Bug 89540 has been marked as a duplicate of this bug. ***
Applied to HEAD, thanks.
This bug is being reassigned to the "general" component so we can close the aisleriot bugzilla component. Apologies for the mass email!