The videos detail a strategy that should work for all scramble and missing badges. 

First, run the sample mod or mystery mod; press the mystery mod button to load it -- the buttons are located under the badge's title. Run the mystery mod in the simulator or in Minecraft to see what the mod does. Then you are supposed to figure out how to generate the same thing through code.