r/ProgrammerHumor • • Jun 10 '23

[deleted by user]

[removed]

12k Upvotes

615 comments sorted by

View all comments

Show parent comment

6

u/[deleted] Jun 10 '23

Jesus, they had like 2 hours to come up with a poker bot. OP breaking all the other algorithms with a simple Allin strategy makes sense in this and only this particular scenario. It's a typical case from speed programming. So explaining why it doesn't make sense as if they had time to include more complex solutions, doesn't apply at all to this scenario.

1

u/KhonMan Jun 10 '23

as if they had time to include more complex solutions

Are you sure you aren't the one who has trouble reading? Yes, I understand that OOP's algorithm is simple because of the time limit. Yes, I understand that his opponents also were under the time limit.

My point is that the strategy I wrote down is also extremely dumb.