@Arda, there are some conditions that could be easily tested - for example, a card other than a King can be played on only three other cards in the deck (the next-lowest card in its suit, or the foundation for an Ace, and the next-higher cards of the opposite color).