Nesting alternatives
Sequences, cycles, and shuffles can all be nested inside each other. When this happens, the combined form is what is known as a nested alternative, where one alternative appears as the element of another.
Combining cycles and shuffles
Within a looping structure, a cycle can be very useful to repeat content after a certain number of loops. When combined with a shuffle, random content can be selected from the shuffle and then repeated within the larger cycle. For example, to generate a new random number for each loop, a cycle with a single element using multiple shuffles would produce this effect using only one line of code:
Example 10:
Her hands were sweating, and her head hurt. She just needed to enter the correct digits into the controls and the vault would open. Once she got in and away with the treasure inside, she could be done with this job and leave this life behind. She had sworn there would only be one more job like this one job ago. This was...