Bitcoin Forum

Other => Archival => Topic started by: CoinRollin on August 25, 2014, 09:15:41 PM



Title: Dice Game, question about generating roll number?
Post by: CoinRollin on August 25, 2014, 09:15:41 PM
Fixed, working great.


Title: Re: Dice Game, question about generating roll number?
Post by: CoinRollin on August 25, 2014, 09:42:21 PM
I really wonder why this topic moved to Off-Topic from Development?
Interesting.


Title: Re: Dice Game, question about generating roll number?
Post by: DannyHamilton on August 25, 2014, 09:59:34 PM
I really wonder why this topic moved to Off-Topic from Development?
Interesting.

Did you even take 2 seconds to look at the description of the "Development & Technical Discussion" sub-forum?

Quote
Technical discussion about Satoshi's Bitcoin client and the Bitcoin network in general. No third-party sites/clients, bug reports that do not require much discussion (use github), or support requests.

Please explain how your post about the game you wanted to create has anything to do with "Technical discussion about Satoshi's Bitcoin client" or "Technical discussion about the Bitcoin network"?

Please explain how your question is not about a "third-party site"?

https://i.imgur.com/peBTa7t.png


Title: Re: Dice Game, question about generating roll number?
Post by: CoinRollin on August 25, 2014, 10:10:27 PM
I noticed my thoughtfulness later but did the moderator had to move this topic to Off-Topic?

I request to @grue to move this to SUITABLE category.

And, thanks.


Title: Re: Dice Game, question about generating roll number?
Post by: bluefirecorp on August 25, 2014, 10:45:04 PM
Just generate the result before hand and had the user a salt+a hash.

Doesn't have to be true random as long as the results aren't changed after the fact.

You should test the probability of a number being generated to verify there are no biases (say, simulate rolling the dice 10k times, verify that each number is roughly even).


Title: Re: Dice Game, question about generating roll number?
Post by: CoinRollin on August 25, 2014, 11:00:31 PM
Just generate the result before hand and had the user a salt+a hash.

Doesn't have to be true random as long as the results aren't changed after the fact.

You should test the probability of a number being generated to verify there are no biases (say, simulate rolling the dice 10k times, verify that each number is roughly even).

Thanks.