rem: if( this.tableau[0][j].childNodes.length==1 ){ score -= EMPTY_TABLEAU; } 
add:  if(this.tableau[0][j].childNodes.length==1) score -= EMPTY_TABLEAU; 
context: Mod3.getScoreForAction = function (action, card, source) {  var score = 0;  if ( action=="move-from-foundation" ){    // Moving out of position    if ( this.canMoveTo(card, source) ){       return (0 - CARD_IN_PLACE - EMPTY_TABLEAU);    }    // Just taking up a slot    return (0 - EMPTY_TABLEAU);  }  if ( action=="move-to-foundation" ){    if ( !source.firstChild ){      return CARD_IN_PLACE + EMPTY_TABLEAU; // Emptied a slot    }    return CARD_IN_PLACE; // Only put a card in position  }  if ( action=="move-between-piles" ){    if ( source.isFoundation ){      if ( !this.canMoveTo(card, source) ){ // Move from dealt postion to valid one        return CARD_IN_PLACE;      }      return 0;  // Moving from valid to valid foundation    }    if ( source.firstChild ){      return (0 - EMPTY_TABLEAU);  // Moving from another card in tableau to fill an empty    }    return 0; // Moving from one empty tableau to another  }  if ( action=="dealt-from-stock" ){    // This gets called after the deal - figure out how many piles were covered    for(var j = 0; j < 8; j++ ) {      if( this.tableau[0][j].childNodes.length==1 ){ // This was filled        score -= EMPTY_TABLEAU;      }    }    return score;  }  return 0;}
meta: 3385	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3385/18726c46ae066c60dc1639ccdfb7e83076143c1f/mod3.js/clean/mod3.js