map.placeObject(map.getWidth()-11, 13, 'block');
map.placeObject(map.getWidth()-11, 12, 'block');
map.placeObject(map.getWidth()-11, 11, 'block');
map.placeObject(map.getWidth()-11, 10, 'block');
map.placeObject(map.getWidth()-10, 13, 'block');
map.placeObject(map.getWidth()-10, 10, 'block');
map.placeObject(map.getWidth()-9, 13, 'block');
map.placeObject(map.getWidth()-9, 10, 'block');
map.placeObject(map.getWidth()-9, 11, 'block');
And than just go for the exit from the top.
map.placeObject(map.getWidth()-5, 11, 'block');
map.placeObject(map.getWidth()-6, 11, 'block');
map.placeObject(map.getWidth()-6, 12, 'block');
map.placeObject(map.getWidth()-5, 13, 'block');
map.placeObject(map.getWidth()-6, 13, 'block');
function moveToward(obj, type) {
obj.move('left');
}