ok, very similar to what i am looking for, but the thing is i have a list not just like (0,n), its like (0;0)...(0;3),(1;0)...(1;3), (2;0)...(2;3), etc
te one of the boxes (kind of). Now I'm trying to set up the pattern, but I would like it to be random. I'm having trouble coming up with the actual algorithm, though.
I'm able to generate a list of items, randomly select some of them, and rotate them. I can also select the item after a rotated one and move it to the right.
However, I'm having trouble selecting all of the items after an item that's been rotated, and moving all of them.
Let's say I have a list of 15 elements and numbers 3, 6, and 7 are rotated. I would need to move numbers 4 through 14 (since it starts at 0) to the right by an x amount; numbers 7 through 14 to the right by a 2x amount; and numbers 8 through 14 by a 3x amount.
How should I go about doing this?
I'll add my current non-working setup. I should note that since I'm new, it probably looks horribly disorganized. Sorry about that.
Thanks!…