Hello!

I am new user of this forum, and I want to ask you for ideas for finding the probability of winning in pre-flop, post-flop etc...

For example, there are 3 players on the table (2 opponents).

A (spade) A(heart) (1st opponent's cards)

A (club) 8 (club) (your cards)

7 (club) 8 (heart) (2nd opponent's cards)

Your percent of winning is:

9.89

4.97 chance of equal splitting the pot

I know how to solve the problem with brute-forcing method and Random function but I want to work smart and not hard.

I want to program this in Java or C++. If I use visual programming I'll use Java.

Thanks in advance.

Regards.