Skip to content

Optimize the copy method in TexasHoldEm class #200

Description

@SirRender00

That looks interesting. Does this work whatever the state of the hand ? (Preflop, Flop, Turn, River). Also does this keep the right game turn ?

Yes. For now this does what we want: it will copy the basic attributes of the TexasHoldEm object and then replays the last hand so that the generators are in the correct state.

A better future implementation would somehow be able to copy attributes directly without needing to replay the previous hand

Originally posted by @SirRender00 in #199 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions