You must get to the field EXIT. As soon as you walk in a direction, you go so long until to reach the border or a wall is blocking your way. So you can't stop whenever you want.