sooo…
I’m doing: https://codecombat.com/play/level/lost-viking
and… Well I don’t understand it at all and kinda makes me disappointed in myself,
how do I add new values too old values correctly…
Where do they learn you that,
Like I got it to move with:
SLIDE=9
SWITCH=5
SKIP=7
sidemove = 1
sideSteps = 1
steps = 1
X_PACE_LENGTH = 4
Y_PACE_LENGTH = 6
while steps <= 35:
hero.moveXY(steps * X_PACE_LENGTH, sideSteps * Y_PACE_LENGTH);
if (steps % SWITCH == 0):
sidemove -= 1;
sideSteps += sidemove
if (steps % SKIP == 0):
sideSteps += sidemove
if (sideSteps > SLIDE):
sideSteps -= SLIDE;
if (sideSteps < 1):
sideSteps += SLIDE;
steps += 1
but it just ends up walking into the mines…
I’ve no understanding of how the mission works, Even with the “hints”…
I feel like I’ve missed a huge part of this game some how…?
this is what it looks like https://s.put.re/kXsyYN8.gif