Casinos look down on card counting and try to take measures to stop it, but card counting is not illegal unless players use an electronic device or APP online to help them count cards.