Skip to content

Add Random.Bool.weightedBool#30

Open
Janiczek wants to merge 1 commit intoelm-community:masterfrom
Janiczek:weighted-bool
Open

Add Random.Bool.weightedBool#30
Janiczek wants to merge 1 commit intoelm-community:masterfrom
Janiczek:weighted-bool

Conversation

@Janiczek
Copy link
Contributor

I am using this helper eg. for rolling percentual probabilities in my Dungeons-and-Dragons-like game. It's a generalization of Random.Extra.bool.

One unanswered question is: Should Random.Extra.bool be moved here? Should perhaps instead weightedBool be moved to Random.Extra?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant