Each level is generated from a number of D6 dicerolls displayed at the bottom which is also the moveset you have to apply in a correct sequence to solve it without triggering a reroll of the level.