Skip to content

Ensure that action label ordering from Gambit Games is left to right #33

@edwardchalstrey1

Description

@edwardchalstrey1

Requested enahancement or feature

g1 = gbt.Game.new_tree(
    players=["1", "2"],
    title="Simultaenous move game."
)
g1.append_move(g1.root, "1", actions=["s" + str(i) for i in range(N)])
g1.append_move(g1.root.children, "2", actions=['r', 'l'])

draw_tree(g1) # why do l and r appear in reverse order?
Image

We want action labels to appear from left to right not right to left (for player 2 they are ['r', 'l'] not ['l', 'r'])

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingdocumentationImprovements or additions to documentationenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions