frenchie
I have a little free time so I will attempt to re-answer your question. The rogue in a nutshell
is a range setter for the lexie index of a set.
Example 5-39 matrix
set Index rogue
08 11 17 33 29 282815 1131231013
If we set the first 4 lexie digits and let the last 2 run wild we will end up with 100 lines. If we
set the first 6 rogue digits we end up with 256 lines. Setting 7 rogues will reduce the lines to
64. From this you can see that setting 6 rogues produces more lines than a 4 digit lexie setup
and 7 rogues produces fewer. Six rogues is the sweet spot IMO as every line in the results will
at least win a prize, not 100% but very close to it and the 5 of 5 will always be there as long as
my first 6 are correct.
Even though a six digit rogue produces more lines, the range of selection is (0 to 3) vs (0 to 9).
Just like the lexie the first digits range is not static for all games such as a 5-30 has 142,506
where the first digits range is (0 to 1) vs the 5-39 (0 to 5) Some games rogue A will be limited
to (0 to 2).
Now to attempt to answer your question. The rogue program converts the lines/sets to lexie
values first then converts the lexie to rogues. Lets say that we set the first 6 rogue values to
the single values "113123." To start, the program adds "0000" to the end for "1131230000"
This value is then converted to a lexie value. Now all that's left is to add one to the new lexie
value and convert that new value back to a rogue. Next check to verify that the first 6 rogue
values still match the six that I have set. A soon as any one of the first six digits in the new
rogue change, it triggers the program to exit. I also place a error code value that is equal to
the number of lines in the matrix which also prevents the program from going past the top
limit of the matrix. In a 5-39 the max lexie value cannot exceed 575757. Most setups
never reach the upper limit as one of my first 6 rogue digits will change long before it reaches
575757. I don't think I have ever had a first 6 setup of "333333" Remember anytime the
rogue exceeds the max lexie, it's game over. While 4^10 = 1,048,576, nCr will always set
the upper limit.
The Rogue program is nothing but a range setter that gives the user a better analysis option
over the standard lexie.
Remember when working with singe digit games, the lexie is the value of the line/set +1.
A pick 3 matrix is 0 to 999 but when converting to rogue we start with 1 and run to 1000.
So 000 becomes 001 before the rogue is calculated then when it's converted back to a lexie
we subtract 1 which sets it back to 000 before saving it to the list.
Note! To wheel the rogues as in the pic below the same process is used except in the way it
checks the new rogue against the users setup. If setting up for more than one choice for each
position one has to add the means to check all of the users choices.
RL