I’m personally stuck on that level too. You might want to see if there are any other topics that focus on Lost Viking open.
Or you can use flags.
thanks man i really suck at this game but im trying to get better lol
You’re welcome. I do what I can.
SLIDE = 8
SWITCH = 6
SKIP = 11
north = True
sideSteps = 1
steps = 1
X_PACE_LENGTH = 4
Y_PACE_LENGTH = 6
i = 1
while steps <= 35:
self.say("step: " + steps + " side step: " + sideSteps)
self.moveXY(steps * X_PACE_LENGTH, sideSteps * Y_PACE_LENGTH)
if steps%SWITCH == 0:
north = not north
self.say(north)
if steps%SKIP == 0:
i = 2
else:
i = 1
if north == True:
sideSteps += i
else:
sideSteps -= i
if sideSteps < 1:
sideSteps = SLIDE
north = False
if sideSteps > SLIDE:
sideSteps = 1
north = True
steps += 1
can you tell me what wrong with this
When north is set to not north it probably stays there. Try
north = -north