# You MUST click on the HELP button to see a detailed description of this level!
# The raven will tell you what to use for your maze parameters!
slide = 10
switch = 7
skip = 7
# How many sideSteps north of the Red X you've taken.
sideSteps = 1
# How many steps east of the Red X you've taken.
steps = 1
# Multiply this with steps to determine your X coordinate. DON'T CHANGE THIS!
X_PACE_LENGTH = 4
# Multiply this with sideSteps to determine your Y coordinate. DON'T CHANGE THIS!
Y_PACE_LENGTH = 6
# The maze is 35 steps along the X axis.
while steps <= 35:
# Take the next step:
hero.moveXY(steps * X_PACE_LENGTH, sideSteps * Y_PACE_LENGTH)
# Increment steps and sideSteps as appropriate, taking into account the special rules.
steps += 1
sideSteps += 1
if steps % switch == 0:
sideSteps = -sideSteps
hero.moveXY(steps * X_PACE_LENGTH, sideSteps * Y_PACE_LENGTH)
Trying to navigate the first corner on this level but just keep getting blown up; any pointers? Thanks