Subject: Re: [stella] Master Mind deluxe - key theory From: Happy_Dude <happy_dude@xxxxxxxxxxxxx> Date: Wed, 7 Apr 2004 07:21:08 +1000 |
Not sure. It doesn't look like i to N would encompass the whole array Time for a visual aide: 01234 - Array position 34012 - The order j needs to move in. 0 = i So at array position 0 or 4, j would need to roll over to 4 or 0 respectivly. And the loop would exit once it reached i. (in my case IF it reached i ;-) ) Erik Mooney wrote: > 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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [stella] Master Mind deluxe - k, Erik Mooney | Thread | Re: [stella] Master Mind deluxe - k, Erik Mooney |
RE: [stella] 6502 question (was INV, Erik Mooney | Date | Re: [stella] 6502 question (was INV, Happy_Dude |
Month |