rem: for(i = 0; i < 24; i++) { 
add: for(i = 0; i != 24; i++) { 
context:   deal: function() {    var i, cards;    // shuffle, and prevent games where that start with no cards in the correct place    // on the foundations (because such games are impossible)    var impossible = true;    while(impossible) {      cards = shuffle(this.cards);      for(i = 95; impossible && i != 87; i--)        if(cards[i].number==2 || cards[i-8].number==3 || cards[i-16].number==4)          impossible = false;    }    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/15f3df693ddf02fb9ee6a2662189220868368b23/mod3.js/buggy/mod3.js