forked from AlexNisnevich/untrusted
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create pushme.md (AlexNisnevich#496)
- Loading branch information
1 parent
135ad37
commit 382edd6
Showing
1 changed file
with
20 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# pushme.md | ||
## kedilayanaveen10: Lure into the trap! | ||
This level is more of a puzzle solving than finding bugs in code. | ||
|
||
Make the "box" object pushable. | ||
This is all the coding needed in this level. | ||
|
||
Remove each layer of the box one by one leaving only the last layer. (We need to do one more thing before we free the drones) | ||
Move the boxes around one corner of the remaining layer creating a boxed trap. (Make sure the trap is deep enough so that the drones won't have enough time to get out of it). | ||
Remove ONE box and bait the drones into the trap. Make sure you are out of the trap and the drones are in. | ||
Once few drones are out, you have to lure the other drones out too without entering inside. | ||
Lure the drones deep into the trap and move around it and open up another place for the exit and move in. | ||
```javascript | ||
map.defineObject('box', { | ||
'pushable': true, | ||
'type': 'dynamic', | ||
'symbol': '▣', | ||
'behavior': null | ||
}); | ||
``` |