Skip to content

from Hands to CardRange #15

@pabx06

Description

@pabx06

hello i am trying to evaluate equity for for a hands ie AcAd in holdem heads-up.

this code seem to works fine:

omp::EquityCalculator eq;
eq.start({"AcAd","random"},0,0,true,5e-5,nullptr,0.2,4);

But now i would like to use the AcAd hands as their numerical representation (4*Ranks+Suit) for "AcAd" it is [12,13]

how can i instantiate a CardRange from a Hand or an array of int ?

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