Skip to content

[Suggestion] Random selection without replacement #99

@AngleWyrm10

Description

@AngleWyrm10

It would be nice to see something that isn't just randomly selecting from the set of all tips, where the same tips can pop up during the same presentation of tips.

A way to do that would be instead of using a random roll against the set of all tips, create a temporary copy of the set of all tips as a bag of tips for the presentation session, and then draw one tip out of the bag each time a new tip is presented.

Random selection without replacement: random shuffle a list of tips once at the start, and then just pop one from the end every time another tip is needed.

If the list runs out of tips, refill the temporary list, re-shuffle, and carry on.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions