Level 10 with droids

Level 10 with droids - Sale Cards on Beige Background

In Untrusted, how can I pass the many attack and defense droids?

I've tried going down, but they get stuck; I tried sending them right, but they cover the exit.

enter image description here



Best Answer

Something easy and simple.

Red Drones

  me.move('left');
  map.placeObject(12, 12, 'block');

Yellow and Green Drones

  me.move('left');

My solution




Pictures about "Level 10 with droids"

Level 10 with droids - Bike Chain Forming 1 and 0
Level 10 with droids - Anonymous person pressing button of lift
Level 10 with droids - Number 10 Text



What is the strongest battle droid?

The 10 Most Powerful Droids in Star Wars, Ranked
  • 1 HK-47. The MagnaGuards may be able to stand off against the Jedi should the need arise, but HK-47 was a Jedi hunter built by none other than Darth Revan himself.
  • 2 The MagnaGuards. ...
  • 3 Droidekas. ...
  • 4 K-2SO. ...
  • 5 0-0-0. ...
  • 6 BT-1. ...
  • 7 IG-88. ...
  • 8 L3-37. ...


  • How tall are B1 droids?

    B1-series battle droids were humanoid fourth class battle droids measuring 1.93 meters tall.

    How many IG assassin droids are there?

    There were four IG-88 assassin droids, labeled A, B, C and D, of which only unit A was initially loaded with the programming.

    Why do B1 droids have personalities?

    The gist of it being that ontop of their basic intelligence, they were given more and more data to process and this overloaded their abilities. In attempting to resolve this, it led to them manifesting the appearance of (individual) personality.



    Star Wars: Puzzle Droids Level 10 - NO BOOSTERS 🌟🌟🌟




    More answers regarding level 10 with droids

    Answer 2

    I solved this by simply giving every single drone a random chance to go either 'up' or 'right'.

    var z = Math.floor(Math.random() * 2) + 1
    switch(z){
    case(1):
      me.move('up');
      break;
    case(2):
      me.move('right');
      break;
    }
    

    Copy and paste to all three drones.

    Answer 3

    I found a cooler way, take a look: red:

    moveToward(me, 'dummy1');

    nothing at all in yellow

    green:

            moveToward(me, 'dummy2');
        }
    });
    map.defineObject('dummy1', {
        'type': 'dynamic',
        'symbol': 'R',
        'color': 'white',
        'behavior': function (me) {
                }
    });
    
    map.defineObject('dummy2', {
        'type': 'dynamic',
        'symbol': '+',
        'color': 'white',
        'behavior': function (me) {
                }
    });
    
    map.placeObject(2, 13, 'dummy1');
    map.placeObject(42, 11, 'dummy2');
    
    map.defineObject('dummy3', {
        'type': 'dynamic',
        'symbol': '=',
        'color': 'white',
        'behavior': function (me) {`
    

    I love my answer.

    Answer 4

    Red Drones - keep moving the drones left and move your guy up one to avoid them as they approach.

    if (me.getY()>11) {
      me.move('left');
    } 
    

    Yellow Drones

    Nothing, leave the yellow drones right where they are
    

    Green Drones - keep moving the middle drone (y==12) to the right until it reaches (12,29) at which time you move it up one to get it out of way of the exit block

    if (me.getY()==12) {
        if (me.getX()==29) {
             me.move('up');
         } else {
             me.move('right');
         }
    } 
    

    enter image description here

    Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.

    Images: Karolina Grabowska, Miguel Á. Padriñán, Kelly, Magda Ehlers