Re: [stella] Poker solitaire source, versions 012 & 014

Subject: Re: [stella] Poker solitaire source, versions 012 & 014
From: "B. Watson" <urchlay@xxxxxxxxxxxxxxxx>
Date: Wed, 28 Nov 2001 20:12:08 -0500 (EST)
On Wed, 28 Nov 2001, Roger Williams wrote:

>
> 1. Do the first 200 shuffles _outside_ of the screen loop, all at once.
> Nobody will notice that it takes a few frames before you start up
> the kernal.  This gets you a quick init to a relatively scrambled state.
>

Hm, what will the TV do during this time? Do I need to turn on VBLANK
to keep the screen from flipping?

> 2. Shuffle at the normal rate until the button has been _released_ for
> at least 40-50 frames.
>
> 3. Continue shuffling until the button has been _pressed_ for at least
> 10 frames (debounce).
>

So it takes a button press & release, an almost 1 sec. wait, then another
press/release? Or did you write that backwards? The player presses the
button & holds it down for 10 frames, to start the game? At which point
the shuffling continues for maybe a full second... That could work. Though
I expect complaints from somebody (probably nobody on this list) that
`I couldn't figure out how to start the game!'


> 4. Don't ever reset the RNG once power is applied.  Let it cycle
> continuously or keep the last state from the previous game.  (Cycle
> continuously is better, it's how slot machines work.)

By `cycle continuously', you mean get one random bit/number per frame,
whether I need one or not? That wouldn't be hard to do. As it is, I'm
not touching the RNG outside the shuffle routine...

>
> This will allow your quick-draw artists to get only approximate
> control of only the first game after a powerup.  And you don't
> need a title screen, the shuffle is already waaaaay kewl.
>
> --Roger Williams
>

I wish I didn't have to go to all this trouble to avoid cheating.. My
grandmother (who taught me to play solitaire) always said that people
who cheat at solitaire can't even be honest with themselves...

B.

----------------------------------------------------------------------------------------------
Archives (includes files) at http://www.biglist.com/lists/stella/archives/
Unsub & more at http://www.biglist.com/lists/stella/


Current Thread