Dangerous Tracks - adventurer feedback

Found somes issues:

  • The level should require a hammer equipped.
  • In the buildEastLine and buildSouthLine comments, I believe the step value should be negative. This could be left implicit, but it is not always straightforward to figure out.

Yep. It should be so. Will check.

That level should be after “Perimeter defence”, that’s why I did it on purpose. If it will be confusing for players, then I change it.

1 Like

I need help with this level. My hero is not building on the east side and the south side. Can you help me? My code is bellow.

// Protect the village with fire traps.
// Mine all passages in four directions.
// You have 80 seconds before the ogres attack.

// Build traps on the line y=114 from x=40 to x=112 with step=24.
function buildNorthLine() {
    for (var x = 40; x <= 112; x += 24) {
        hero.buildXY("fire-trap", x, 114);

// Build traps on the line x=140 from y=110 to y=38 with step=18.
function buildEastLine() {
    // Complete this function:
    for(var y =110; y<=38;y-=18){
        hero.buildXY("fire-trap", 140, y);

// Build traps on the line y=22 from x=132 to x=32 with step=20.
function buildSouthLine() {
    // Complete this function:
    for(var x=132; x<=32;x-=20){
        hero.buildXY("fire-trap", x, 22);

// Build traps on the line x=20 from y=28 to y=108 with step=16.
function buildWestLine() {
    // Complete this function:
    for(var y=28;y<=108;y+=16){
        hero.buildXY("fire-trap", 20, y);

hero.moveXY(40, 94);

Please don’t post on a dead topic. This topic has been dead for 3 years. I’ll make another topic

@Luke10, please don’t think up rules.