A card counter for poker games