Moves the top count face-up cards from one tableau column to another - legal only onto a
card one rank higher of the opposite colour, or onto an empty column with a king.
conststate = dealSolitaire(1); moveSolitaireTableau(state, 4, 0, 1); // the jack of hearts onto the queen of clubs console.log(state.tableau[0].up.at(-1)); // { suit: 'hearts', rank: 11 }
Moves the top
countface-up cards from one tableau column to another - legal only onto a card one rank higher of the opposite colour, or onto an empty column with a king.