Try to use neural network, it works good for card games