challenge

You can never know where the fence is going to be or how big the sheepfold is.

Think of a solution that will get Miorița to a patch of grass as quickly as possible.

commands

move()

canMove()

turnRight()

reset()

if() { }

else { }

while() { }

for() { }

var

Miorița

The Escape