Gems or Death Coffeescript:


#1
@moveXY(25, 15) 
@moveXY 52, 18
@moveXY 56, 27```

#2

Puff Like JFBM said on one of your earlier post you have to tell us your problem otherwise we cannot fix it


#3

this isnt a problem
its a solution


#4

As I already wrote you we usually don’t post solutions directly, so new players have to figure it out themselves (for their own good).

Also while you are of course right, this level has another purpose. It should teach you to use if and understand the difference between true and false, or conditions that evaluate to true and false.

A lot of levels can be solved by walking directly to the goal.

You can also solve this level (given a bit health) with this code:

loop
    item = @findNearest @findItems()
    @move if item then item.pos else @pos

But that’s not the point.


#5

If you wanted to force the players to use elif you should randomize the places of the orges/gems


#6

all have to do is make the math correct and the math wrong for the places you don’t want to move.


#7

As the new rule says, you are not allowed to post solutions. Please remove it.

Endercore79