Skip to content

Some feedback #1

@jscaetano

Description

@jscaetano

Nice code but it got some errors.

If i have a hand of say As Ac, pre-flop, with say, 6 players, the odds of having a pair show up as 0.357, shouldnt it be 1.000? given the fact that i already have a pair in hand? and the odds of having two pairs is 0.359, so it is more probable of having two pairs than one, if already have one? that is not right.

Also, in the same example, hand of As Ac, post-flop, being the flop Ah Ks Tc for example, i have a three of a kind, but the odds of having three of a kind show up as 0.612, once again, shouldnt it be 1.000?

But if i have a hand of As Ac, and the flop is Ah Ad Ks, the four of a kind odd is 1.000, in that case is right.

That was the only mistake i found on this code. if i find more I'll submit another issue. Looking forward for the fix :) thanks :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions