So I am currently trying to develop an algorithm for a poker odds calculator to predict the probability of a hand winning during the flop, turn and river in Texas Hold'Em as a side project. After reading this thread, I am still very confused on how the number of players will affect the probability of a player's hand winning.
Can someone please explain how I would go about calculating the probability of a hand winning and how number of players would affect it? I've looked into this resource, but I still don't understand how number of players would affect probability. Also, what other factors do I need to consider?
I would like to assume that all player's are of equal skill and we are solely using the information we have gathered from the player's card and community cards. Thank you. To be honest, I don't know where to start and this is very confusing to me and I would appreciate help.
EDIT: Added my comment from below so it is more noticeable.
Skill definitely has an impact in real life but since my goal is to develop an program, we can't really implement 'skill'. My goal was to try developing the probability of a poker hand winning so I guess I should be investigating the probability of a hand improving during the flop and the turn and then once it's the river, predict the probability of it winning? Please someone guide me. I just want to know if this project is still plausible.
EDIT #2[COPIED FROM BELOW]: After thinking for a while, I was thinking I take this approach.
I was thinking that the other player cards are unknown. I was thinking that for the flop and turn, I calculate percent of improvement (outs/unseen cards). Then on the river when all cards are revealed, I go through each permutation of the deck and determine all possible card combinations other players would have. I find the number of scenarios which the player has the best hand and then divide that by all scenarios. Can I get feedback from anyone?