RE: [stella] Master Mind deluxe - key theory

Subject: RE: [stella] Master Mind deluxe - key theory
From: "Erik Mooney" <erik@xxxxxxxxxx>
Date: Tue, 6 Apr 2004 15:46:10 -0500
Happy_Dude <happy_dude@xxxxxxxxxxxxx> wrote:

> The key theory, or in this case White key theory, is what I like to call a 
> rolling loop. It's where the 2 index values always start at the same value
> but one moves through the whole array once for every position.

In BASIC pseudo-code, is this what you're describing?

for i = 1 to N
    for j = i to N
        'do something
    next
next

If that's what you mean, it should be easy enough to implement in 6502...?
----------------------------------------------------------------------------------------------
Archives (includes files) at http://www.biglist.com/lists/stella/archives/
Unsub & more at http://www.biglist.com/lists/stella/


Current Thread