A simple javascript based card-counter for blackjack