rem:  for(i = 0; i < 24; i++) { var f = this.foundations[i]; if(f.firstChild.number()==f.baseNumber) this.score += MOD3_CARD_IN_PLACE; } }; 
add:  for(i = 0; i < 24; i++) { var f = this.foundations[i]; if(f.firstChild.number()==f.baseNumber) this.score += MOD3_CARD_IN_PLACE; } }, 
context: Mod3.deal = function() {  var i;  // get 2 decks, remove the aces, shuffle  var cards = this.getCardDecks(2);  cards.splice(91,1); cards.splice(78,1); cards.splice(65,1);  cards.splice(52,1); cards.splice(39,1); cards.splice(26,1);  cards.splice(13,1); cards.splice(0, 1);  for(i = 0; i < 96; i++) {    // the row this card should end up in    cards[i].row = i % 3;    // a renumbering of cards so that all foundations are built 0,1,2,3,    // i.e. 2==0, 5==1, 8==2, J==3 in row 0, and similar in the other rows    cards[i].rowNum = Math.floor((cards[i].number()-2) / 3);  }  cards = this.shuffle(cards);  for(i = 0; i < 24; i++) this.dealToStack(cards,this.foundations[i],0,1);  for(i = 0; i < 8; i++) this.dealToStack(cards,this.stacks[i],0,1);  this.dealToStack(cards,this.stock,cards.length,0);  // set the initial score  for(i = 0; i < 24; i++) {    var f = this.foundations[i];    if(f.firstChild.number()==f.baseNumber) this.score += MOD3_CARD_IN_PLACE;  }};
meta: 3385	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3385/16cf1285aa3c691e959e2aabb4cbf0501cad4a97/mod3.js/buggy/mod3.js