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 50704 - Klondike doesn't have the option to deal 3 cards at a time.
Klondike doesn't have the option to deal 3 cards at a time.
Status: RESOLVED FIXED
Product: gnome-games-superseded
Classification: Deprecated
Component: general
2.7.x
Other All
: Normal enhancement
: ---
Assigned To: Rosanna Yuen
Gregory Leblanc
: 93316 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2001-02-09 08:19 UTC by Eric Baudais
Modified: 2012-01-31 23:16 UTC
See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement



Description Eric Baudais 2001-02-09 08:19:28 UTC
In a typical game of Klondike, you will deal 3 cards and only play the 
top card.  This isn't what happens.  Klondike in aisleriot deals one card.
There should at least be an option between dealing 3 cards and one card.
Comment 1 Gregory Leblanc 2001-11-16 06:03:14 UTC
I think he means "typical klondike copied from windows".  :-)
Comment 2 David Kennedy 2002-10-18 23:16:35 UTC
*** Bug 93316 has been marked as a duplicate of this bug. ***
Comment 3 Josselin Mouette 2004-06-17 10:04:52 UTC
http://bugs.debian.org/254484 is asking for the same feature:

The manual for Aisleriot implies that it is possible to enable a 3-card
version of Klondike, presumably with infinite stock recycling. ("Three
card deals: If checked, the Stock will deal three each time.") I can
find no such control in the current Aisleriot.

Enabling such a game is particularly important because this is the
default Microsoft solitaire game. Windows users who became addicted to
MS solitaire will expect to find an equivalent game on Linux.
Comment 4 Callum McKenzie 2004-06-17 22:10:31 UTC
Just an update on the status of this: there is code for klondike to do this (and
always has been). What is missing is the code to generate the dialog to select
this. I haven't got it as a high priority since auto-generating dialogs is messy
and I'm not looking forward to it. The code was present in early versions of
aisleriot, but I don't think it can be recycled.

I agree that the option is desirable, aside from being the windows default it
was how I was taught to play patience as a child. Both variants are common.
Comment 5 Alan Horkan 2004-10-28 04:07:38 UTC
The documentation needs to be amended in some way (the easiest being to remove
the section, perhaps in such a way that the change can easily be rolled back
later).  point me in the right direction and I'll try and do it.  
if the option had not mentioned in the documentation I would have simply assumed
that this version of Solitare/Klondike was not exactly the same as what I first
learnt as solitare.  

I agree that automatically generated users interfaces tend to be horrid.  
Ideally we want a single place for game specific options where it can be made
clear to user that the options available change from game to game.  (I'm
thinking each game type would be treated almost like other programs treat
plugins and you would have 'configure' option with the names list)

bumping version number up from 2.0 because it is still an issue in Gnome 2.8
Comment 6 Richard Hoelscher 2004-11-23 04:58:04 UTC
Perhaps doing these as GtkAction toggle items in the menu would be better than 
using a dialog? I don't think it would be hard to auto-generate them, though 
maybe not worth the effort or complexity since options are only supported in 2 
games. Gconf support for these options may be stickier, though... if they are 
going to support schemeas, the options will be exposed to more than just 
the .scm files.
Comment 7 Callum McKenzie 2004-11-23 05:20:48 UTC
The schema need not be a problem. We can do horrible things like keep a key with
a generic string that can then embed options like "klondike_cards=3,
other_option=foo". We could even save some raw scheme code in the string, but
all this is really no better than not having a schema at all (except for the
threat of a future gconf not allowing schema-less keys).

I haven't looked at it seriously, but the new GtkAction code probably makes
things easier. The dialog problem could also be solved by letting the scheme
code supply a string with embedded glade XML, assuming the dialog isn't too complex.

OK, so these ideas are both hacks, but anything to avoid depending on the scheme
bindings for GTK+ and gconf right ?
Comment 8 Callum McKenzie 2005-03-21 10:54:44 UTC
I have just placed in CVS code to enable the game-specific options, this
includes 3-card deals for Klondike. The option is available under a special
"Klondike" menu. Currently the game state is _not_ saved. This is some other
nights work and until then this bug stays open. Four years and counting...
Comment 9 Callum McKenzie 2005-03-22 12:02:07 UTC
That last entry should probably have also mentioned "doesn't compile" as another
attribute. That is fixed now, as well as the saving issue. All the gconf stuff
(including the schema) is generated at run-time. There are still a few rough
edges, but in general it works and so I am, finally, closing this bug.
Comment 10 Alan Horkan 2005-03-23 19:21:42 UTC
I'm glad we have it on record that you acknowledge how hideous this is but not
having a better idea I'll have to get back to you when I do...
http://spooky-possum.org/cgi-bin/pyblosxom.cgi/options.html
Comment 11 Alan Horkan 2005-03-26 03:29:29 UTC
I case you decide to rework this functionality later I noticed an alternative
approach seen in a freeware game which was to simply have a Klondike game and a
seperate "Klondike Deal 3" game ruleset.  

Comment 12 Robert Ancell 2012-01-31 23:16:02 UTC
This bug is being reassigned to the "general" component so we can close the aisleriot bugzilla component.  Apologies for the mass email!