I notice you don't use a regular deck of 52 cards and shuffle them. You use a 50 random numbers between 1 and 13. That can mean there are lots of aces and no 2's, for instance. You seem to have complete control of the seed used to pick the cards, and the txid is only used to shuffle it. So you can deliberately pick seeds which result in a skewed deck (lots of very high or very low cards) to throw the player off.
It would be better if you either used a full deck of 52 cards, or used the txid to adjust the seed for card selection as well as for card shuffling, if you want the game to be provably fair.
This is why I love btc community.
We ain't stupid ya kno'?
Looking to play soon