Re: AisleRiot fullscreen mode



Hi, Sean.

Klondike is one of the better-coded games in aisleriot, and it's
fairly simple, for programmers at least, to change the number of cards
dealt and the number of redeals independently. So this is really a
policy decision, not a technical one. I think having two options that
could be set independently (1 or 3 card deals, 2 or unlimited redeals)
was deemed too confusing for some reason.

We should definitely provide Klondike with 1-card deals and unlimited
redeals if someone wants to play it that way. We should be able to
make them independent options or, if there's a name for that
variation, add it as a separate game, but that's a policy decision so
I can make no promises there. Anyone?

As for changing it yourself, copy /usr/share/sol-games/klondike.scm to
your home directory (or modify it in place if you want, but it'll be
overwritten when you upgrade) and change

(define (apply-options options)
  (set! deal-three (cadr (list-ref options 1)))
  (set! deal-one (cadr (list-ref options 2)))
  (set! no-redeal (cadr (list-ref options 3)))
  (set! max-redeal (cond (no-redeal 0)
			 (deal-one 2)
			 (#t -1))))

to

(define (apply-options options)
  (set! deal-three (cadr (list-ref options 1)))
  (set! deal-one (cadr (list-ref options 2)))
  (set! no-redeal (cadr (list-ref options 3)))
  (set! max-redeal -1))

Aisleriot appears to use the .scm files in the current directory
before /usr/share/sol-games, but usually that will be your home
directory if you start it from a shortcut.

On 9/5/07, Sean <suseux googlemail com> wrote:
<snip>
> Another thing is more a game issues which my wife has picked up on. In
> the Klondike game there is a option for single card deals, you only have
> 2 redeals. The sent my wife into some kind of *I'm not playing that
> again run into the other room*, it seems she's never seen this before in
> any other card games and now hates it. Any chance anything can be done
> about this(or give me a tip on how to disable this myself somehow)? :-)

-- 
Vincent Povirk



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]