Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Meta

Default Rules: Random

+2
−0

What is random defined as on this site? How are answers allowed to handle random chance?

History
Why does this post require attention from curators or moderators?
You might want to add some details to your flag.
Why should this post be closed?

0 comment threads

2 answers

+4
−0

Every outcome must be possible

For example, if the challenge requires a random number from 1-5, all 5 numbers must be possible. It does not need to be uniformly random (unless otherwise specified) - all 5 numbers may have different probabilities of occurring, but they all must have a nonzero probability.

(At any given point in time, too, so answers that rely being past certain times/dates for randomness do not work either)

History
Why does this post require attention from curators or moderators?
You might want to add some details to your flag.

0 comment threads

+2
−0

My thoughts on the matter

Does randomness need to be uniform?

Nope, although it has to follow the specifications of the challenge (but if the challenge is too demanding with its randomness you may freely vote on the matter).

Can you use unseeded PRNG?

For functions, sure thing, but for programs not at all - programs would create the same output every time and thus not be random.

Can you use user input as a source of randomness (eg PRNG seed)?

Not at all - the only input which should be used is input which the challenge mentions and randomness can usually be gained through other means. If all randomness must be gained through user input, your language is incapable of giving "true" randomness (as far as that would be true to determinists) and thus should not compete.

Should we treat all languages as equals in this regard or be forgiving to languages with lesser randomness capability?

Treat them as equals. No good ever comes from compromising to other languages, as it just introduces loopholes that other languages can abuse.

Are these rules eternal and universal?

Nope... if your challenge is good enough. Rules should only be broken for challenges which have a lot of thought put behind them to make them work in spite of the rule breaking.

History
Why does this post require attention from curators or moderators?
You might want to add some details to your flag.

0 comment threads

Sign up to answer this question »