rem: for(i = 0; i != 4; i++) { afs[i].mayAddCard = this.mayAddCardToAceFoundation; kfs[i].mayAddCard = this.mayAddCardToKingFoundation; }  
context:   init: function() {    const cs = this.cards = makeDecks(2);    const fs = this.foundations, ps = this.piles, rs = this.reserves;    const afs = this.aceFoundations = fs.slice(0,4);    const kfs = this.kingFoundations = fs.slice(4,8);    for(var i = 0; i != 8; i++) {      rs[i].up = ps[i];      rs[i].down = ps[i+8];      rs[i].col = i;    }    for(i = 0; i != 4; i++) {      afs[i].mayAddCard = this.mayAddCardToAceFoundation;      kfs[i].mayAddCard = this.mayAddCardToKingFoundation;    }    for(i = 0; i != 16; i++) {      var p = ps[i], col = p.col = i % 8;      p.reserve = rs[col];      p.isPile = true;      p.mayTakeCard = this.mayTakeCardFromPile;      p.mayAddCard = this.mayAddCardToPile;      p.following = ps.slice(i+1).concat(ps.slice(0, i));    }    const acepos = [0, 13, 26, 39, 52, 65, 78, 91];    const as = this.aces = new Array(8);    const ks = this.kings = new Array(8);    for(i = 0; i != 8; i++) as[i] = cs[acepos[i]], ks[i] = cs[acepos[i]+12];  },
meta: 3385	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3385/76838ffa1935fcad7cf2820100d0854425857cb8/regiment.js/clean/regiment.js