The card counting strategy in blackjack is technically legal, but many physical casinos are known to ban players who employ this technique. It is important to note that card counting is not possible while playing blackjack online since virtual blackjack games utilize software instead of actual cards.