lychees's picture
Upload 569 files
87b3b3a

wallsWithEyes.jsx

(Bonus Level)

Stop the walls

Grass Path

    map.defineObject('grass', {
        symbol: '\u25a6',
        color: '#494',
        impassable: false
    });
    
    for (var y = 3; y < 23; y++) {
        map.placeObject(24, y, 'grass');
        map.placeObject(25, y, 'grass');
        if (y != 19) map.placeObject(26, y, 'grass');
    }

Explanation: Move up to activate the trap, then turn back and let the walls close all the way. They won't spawn on grass. Then, walk up the grass path.

kedilayanaveen10: Plug in the teleporters!

The teleporters are already created. They're just not connected to each other.

teleport1.setTarget(teleport2);
teleport2.setTarget(teleport1);