Help on Lost Viking python

I need help on lost viking. Can you help me?
This is my code.

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!

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

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!

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 +=

you’re code

# 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!
# 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

Tell us the specific problem(s) that your character runs into and we might be able to help you more. :slight_smile:

Looks like you’re only incrementing steps and not side steps my doode =) I agree with Hellenar though, please tell us what’s happening (I don’t know the special rules, haven’t done this mission before)

He keeps going to a fire-trap.

This level is sometimes glitchy so you’ll have you do guess work for the variables except for steps and sideSteps

He keeps moving right until he reaches a land mine.

I think you are missing Slide and the other movements.

I am not so sure how to use them.:confused:

Mod edit: Please do not post for assistance in multiple locations for the same issue. You will not receive assistance faster with multiple posts.