Hello all,
Anyone can tell me why getElementsArray is not picking up any of my cards? I checked my cards, they do have the "CARD" tag.
I get Card count : 0
function shuffleAllCards() {
bga.log("Start Shuffle");
var allCards = bga.getElementsArray( { tag: 'CARD' } );
bga.log("Card count : ${cardCount}", { cardCount: allCards.length });
// bga.Shuffle();
bga.log("End Shuffle");
}
Anyone can tell me why getElementsArray is not picking up any of my cards? I checked my cards, they do have the "CARD" tag.
I get Card count : 0
function shuffleAllCards() {
bga.log("Start Shuffle");
var allCards = bga.getElementsArray( { tag: 'CARD' } );
bga.log("Card count : ${cardCount}", { cardCount: allCards.length });
// bga.Shuffle();
bga.log("End Shuffle");
}