Everyone who replied, thank you very much!
I guess I'll replace Math.random() with something
more sophisticated.
The page you suggested Jim looks quite promising.
Thanks again guys!
Regards,
Dimitrios
----- Original Message -----
From: "Jim Armstrong" <[EMAIL PROTECTED]>
To: "Flashcoders mailing list" <[email protected]>
Sent: Thursday, November 17, 2005 4:34 PM
Subject: Re: [Flashcoders] Math.random()
At 03:28 PM 11/17/2005 +0200, you wrote:
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?
Do not use Flash's Math.random() for any serious gaming application. As
an alternative, consider http://magicsnacks.com/shiftedpixels/?p=8
http://www.2112fx.com/blog/pivot/entry.php?id=36 for some links on RNG's
and shuffling .
good luck!
- jim
----
2112 FX :: Singularity [Business Intelligence][Custom Programming]
Flash Math Blog :: www.2112fx.com/blog
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders