I'm trying to create an AI for a game I develop but I run into the problem of trying to figure out how to calculate probability. The probability I'm trying to calculate is what is the probability that a given card can win the current book/hand?
The game in question is a simplified version of Spade where the goal is to get as many Spade as possible.
Spade > Club > Diamond > Heart.
My current thought process is that if I have a given card like say a 10 of Club. Then I can can say that there are(ignoring all other suit except for Club) 4 card that can beat my card. now assuming I have the King of Club and knowing that the Queen up to Ace of Club haven't been played. Is it safe to say that the probability that my 10 of Club win is the:
Num of card that can beat my given card / the total card in my enemy hand?
For example with the above example it would be 3/5 if we ignore 3 card to have an even hand 5 for me and 5 for the other player.
Or is there something I'm overlooking?
i.e- There are 2 player in this example.