getTableCards in deck.js