shadehs wrote:
How can i count the outs on a given board, knowing my cards and my opponents' range ?
I have done this with single hands but the same would apply to a range except you might want "average" outs since each individual
hand in the range gives different outs.
An array of all the opponenthands including yours.
int totalouts = 0;
foreach(hand in opponenthand)
foreach(car in remainingcard)
evaluate your and vs opponenthand
if your win+ties > than opponents win+ties
outs++
//averaging the total outs
totalOuts = totalouts / opponenthands
I use your hand vs opponent range assuming you have only one opponent. But, it can be applied more generically by n opponents
with n ranges.
I use who has the highest win + tie because if you had say 5 people in the hand the highest win+tie could be under 50%
but that person is still better off than the remaining players.