rem:  return this.searchAround(card, this.lastIsConsecutiveAndSameSuit) || this.searchAround(card, this.lastIsConsecutive) || this.searchAround(card, this.stackIsEmpty); 
add: var piles = getPilesRound(card.parentNode); return searchPiles(piles, testLastIsConsecutiveAndSameSuit(card)) || searchPiles(piles, testLastIsConsecutive(card)) || searchPiles(piles, testPileIsEmpty); 
context:   getBestMoveForCard: function(card) {    // behold the wonders of javascript's || operator!    return this.searchAround(card, this.lastIsConsecutiveAndSameSuit)      || this.searchAround(card, this.lastIsConsecutive)      || this.searchAround(card, this.stackIsEmpty);  },
meta: 3385	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3385/16cf1285aa3c691e959e2aabb4cbf0501cad4a97/simon.js/buggy/simon.js