rem: const card = act.revealedCard = pile ? pile.lastChild : null; if(!card) return false; if(card.faceUp) { act.revealedCard = null; return false; }   card.setFaceUp(); return false;  turnCardUp(card); return true; 
add: const cs = act.revealedCards = pile ? this.getCardsToReveal(pile) : []; for(var i = 0; i != cs.length; ++i) cs[i].setFaceUp(); act.score += cs.length * this.scoreForRevealing;  gScoreDisplay.value = this.score += act.score; return false; 
context:   done: function(pile, wasInterrupted) {    const acts = this.actionsDone, act = acts[acts.length-1];    gScoreDisplay.value = this.score += act.score;    const card = act.revealedCard = pile ? pile.lastChild : null;    if(!card) return false;    if(card.faceUp) {      act.revealedCard = null;      return false;    }    // xxx make animated turning work again//    if(wasInterrupted) {      card.setFaceUp();      return false;//    }    turnCardUp(card);    return true;  },
meta: 3385	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3385/51238e4aeced596a0a6b1b1d3f980bc0d9f2ac0c/cardgame.js/clean/cardgame.js