Blackjack cards done in a functional manner