Skip to content

[Good first issue]: Add different options for colouring game graphics by player #14

@edwardchalstrey1

Description

@edwardchalstrey1

Currently edges and nodes in draw_tree are black by default, but there is also a "gambit" colour scheme. There are a couple of ideas I have for improving upon this:

  • 1) Ensure the "gambit" colour scheme scales for many players, or alternatively throw an error saying that colour scheme only supports games with up to 6 players for games with >6 players
  • 2) Add a 3rd colour scheme for "distinctipy" which makes use of this package to choose a set of n unique/distinct colours for players (or use some other custom method to get unique colours)
  • Feel free to add as many colour schemes options as you like

See the get_player_color function.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions