If this was connected to prizes/tournaments, from what I remember it depends on whether the user pays to play or not; and the laws of the country that your site is hosted in.
>From a UK perspective, if the user paid to play you'd need a gaming and/or gambling license (gaming for fixed-odds, gambling for games of skill - I assume Backgammon would come under the latter). I know that to get one of those licenses in the UK (for interactive TV gaming, which is why I'm being a bit woolly about the website thing) we needed to buy a much better random number generator. In fact - a hardware random number generator, with certification that we could show the authorities. This Wikipedia entry explains about hardware generators: http://en.wikipedia.org/wiki/Hardware_random_number_generator If your game isn't pay-to-play, I _think_ you'd be in the clear and could use whatever randomness your client was happy with; as essentially your client would be giving away stuff for free. If it is pay to play, you need to check it all out with the lawyers, I'm afraid. Hope that's helpful, Ian On 11/17/05, Dimitrios Bendilas <[EMAIL PROTECTED]> wrote: > > Hello, > > I have built a Backgammon game in Flash for a client. > > He is starting to ask questions about the randomness > of the dice, because a registered member of the game said > he's recorded the stats of about 100 backgammon games > and found that the numbers generated are not so random. > (I haven't seen the data, so I don't know if that's true) > > I know that Math.random() is not the best random generator > in the world. I also know that a computer can never produce > *really* random numbers. > > So, my question is this: Should I use some other algorithms > for generating the value of the dice? Or Math.random() > is really good enough? What if this game was connected > to prizes, tournaments etc? Would I have to find something > better then? > > > Thank you > _______________________________________________ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > _______________________________________________ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders