rem: var stack = this.stacks[i]; var length = stack.childNodes.length; if(length < 13) continue; var card = stack.childNodes[length-13]; if(!this.canMoveCard(card)) continue; for(var j = 0; j < 4; j++) if(this.attemptMove(card, this.foundations[j])) return true; 
add: var pile = this.stacks[i]; var n = pile.childNodes.length - 13; if(n>=0 && this.sendToFoundations(pile.childNodes[n])) return true; 
context:   autoplayMove: function() {    for(var i = 0; i < 10; i++) {      var stack = this.stacks[i];      var length = stack.childNodes.length;      if(length < 13) continue;      var card = stack.childNodes[length-13];      if(!this.canMoveCard(card)) continue;      for(var j = 0; j < 4; j++)        if(this.attemptMove(card, this.foundations[j])) return true;    }    return false;  },
meta: 3385	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3385/9ca026135f28c844fb31e7b5da10e7c1c7371e6d/simon.js/clean/simon.js