rem: if(this.canMoveToFoundation(card, f)) this.addHint(card, f); 
add: if(f.mayAddCard(card)) this.addHint(card, f); 
context:   addFoundationHintsFor: function(card) {    if(!card) return;    const fs = this.foundations, num = fs.length;    var ds = [];    for(var i = 0; i != num; i++) {      var f = fs[i];      if(this.canMoveToFoundation(card, f)) this.addHint(card, f);    }  },
meta: 3385	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3385/05e21043701a5724e2c4368f9cf23b22050e0bda/cardgame.js/clean/cardgame.js