position.playMoves(node.getMoves());
Player player = position.getNextToPlay();
node.setPlayerTurn(player.getDirection());
node.setPosition(position);
if (position.oneTrickLeft()) {
node.setCardPlayed(player.getPossibleMoves(position.getCurrentTrick()).get(0));
position.playMoves(finalMoves);
}
for (Card card : player.getPossibleMoves(position.getCurrentTrick())) {
makeChildNodeForCardPlayed(node, player, card);