gamblers-dice
Languages and libraries
random number library
SHOW HN2017
How HN took it
11 positive, 49 neutral or asking, 0 mixed, 11 critical, out of 71 comments about the project. Thread score +0.04.
Idea: 9 for, 7 againstExecution: 0 for, 3 againstDesign: 0 for, 1 againstDocs: 1 for, 0 against
The thread, comment by comment
Each row is a top-level comment and its replies, in HN's order. Select a cell to open that comment on HN.
positive neutral or mixed critical about another commenter or something else the maker
What HN said
What people liked
Useful for games and RPGs that want fairer-feeling randomness.
From 3 comments
This is actually useful for many rpg games.
Sawamara on HNThis will be great for game developers as many a player has complained that the RNG wasn't "fair" because they got so many fails in a row or never saw a critical hit or whatever,…
mysterydip on HNThis actually seems like it would be pretty good for applications like games or playing random songs.
emodendroket on HN
Clever idea; Polya urn style model explained.
From 1 comment
There's a probability model called the Pólya urn where you imagine an urns containing numbered balls (colored balls in a typical example, but to draw the comparison with dice we…
andy_wrote on HN
Objections
Dice that are not independent is a questionable goal; real dice cannot do this.
From 1 comment
Pshaw. Make real dice that do that and I'll get excited.
mighty_bander on HN
Requests
Physical dice that follow the gambler's fallacy.
From 1 comment
Now I really want physical loaded dice which follow the gambler's fallacy! Is it too crazy of an idea?
bigato on HN
Questions
How to run the package and the roll method logic.
From 2 comments
How exactly does the roll() method work? Can't seem to parse the meaning of `runningSum` and `mark`. ``` roll() { const sum = this.state.reduce((p, c) => p + c, 0) const r =…
18nleung on HNHow do I run this code? I thikn I succesfully installed the package with npm. There were some warnings but no error. But how do I run: > const RiggedDie =…
biafra on HN
Alternatives named
Tetris bag randomizer.
From 1 comment
A similar, simpler idea is sometimes used in games: you put all choices in a "bag", then draw from the bag until it's empty, then put everything back. Tetris is the go-to…
vanderZwan on HN
Dota 2 pseudo-random distribution.
From 2 comments
Video games, especially competitive ones, do this to limit the effect of randomness on the outcome of the game, while still keeping the sequence of random events unpredictable…
onetwotree on HNThis "unfair RNG" issue was big in Dota 2 (a popular video game) for a while. They ultimately implemented something similar and AFAIK now all "random" effects use it.
nerdponx on HN
Hearthstone pity timer.
From 1 comment
This shows up a lot (predictably) in actual games, e.g. Hearthstone sells you digital cards, and the randomization specifically guarantees that the time between rare cards is…
smallnamespace on HN