It's easy to weigh in the strength of your hand and the probability of opponent having a better hand then yours. Like, if you got two pair, what are the chances of the opponent having a better hand than you. If it meets a certain threshold, we can call the bluff.
It is not hard to code it given enough time. But I probably won't be able to do it in a competition.
People are pretending going all in always is a good strategy. But two hours is harsh indeed. I'm not really good at programming anything in two hours. I guess I could manage FizzBuzz or Bubblesort.
View all comments
Show parent comment
6
u/pr0crast1nater Jun 10 '23
It's easy to weigh in the strength of your hand and the probability of opponent having a better hand then yours. Like, if you got two pair, what are the chances of the opponent having a better hand than you. If it meets a certain threshold, we can call the bluff.
It is not hard to code it given enough time. But I probably won't be able to do it in a competition.