Getting rich in codecombat junior

Here is my code it doesnt move after it defeats the first crab and gets the first four gems

while look('up') == "crab" or look('up') == "crate":
    zap('up')
while look('left') == "gem":
    go('left', 1)
while look('right') == "gem":
    go('right', 1)
    

Can you send the whole thing please

I’ve already solved it sorry

1 Like

This topic was automatically closed 12 hours after the last reply. New replies are no longer allowed.