File size: 787 Bytes
87b3b3a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# 04_theGuard.md

## Jail the Guard
Put blocks around the guard
```javascript
map.placeObject(half_width+1, half_height-1,'block');
map.placeObject(half_width+2, half_height-1,'block');
map.placeObject(half_width+3, half_height-1,'block');
map.placeObject(half_width+1, half_height,'block');
map.placeObject(half_width+3, half_height,'block');
map.placeObject(half_width+1, half_height+1,'block');
map.placeObject(half_width+2, half_height+1,'block');
map.placeObject(half_width+3, half_height+1,'block');
```

## Sneak away
This level can be solved with no code changes using an approach similar to that found in [06_drones101.md](https://github.com/AlexNisnevich/untrusted/blob/master/solutions/06_drones101.md#3-0663651---single-block), with the eye replacing the single block.