Re: Obtaining a dice result
This WebDNA talk-list message is from 2007
It keeps the original formatting.
numero = 68446
interpreted = N
texte = That's pretty spiffy! Seems that the [random] tag can be reliable as far as generating dice rolls for web-based gaming applications.GJKAt 10:35 AM 2/9/2007, you wrote:>Gary Krockover wrote:>>Beautiful Stuart, thanks. Let the crap games begin....>>:)>>GJK>>At 02:30 AM 2/9/2007, you wrote:>>>>>Try this>>>>>>>>>[math show=T]DiceNumber=ceil([RANDOM format=float]*6)[/math]>>>O.K., since I'm a sucker for tangents....>>I was curious if any of the numbers would be favored. So far>looks pretty even with the 4's with a slight favorite. :-)>>http://www.euca.us/admin/tests/diceroll.html>>>Donovan-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list
.To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/
Associated Messages, from the most recent to the oldest:
That's pretty spiffy! Seems that the [random] tag can be reliable as far as generating dice rolls for web-based gaming applications.GJKAt 10:35 AM 2/9/2007, you wrote:>Gary Krockover wrote:>>Beautiful Stuart, thanks. Let the crap games begin....>>:)>>GJK>>At 02:30 AM 2/9/2007, you wrote:>>>>>Try this>>>>>>>>>[math show=T]DiceNumber=ceil([RANDOM format=float]*6)[/math]>>>O.K., since I'm a sucker for tangents....>>I was curious if any of the numbers would be favored. So far>looks pretty even with the 4's with a slight favorite. :-)>>http://www.euca.us/admin/tests/diceroll.html>>>Donovan-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/
Gary Krockover
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
Multiple prices (1997)
make updates in a temporary database (2004)
ShowIF Question (2000)
Moment of Thanks (1997)
Proper file locations (1997)
Sendmail question (2002)
Need help with emailer- 2 issues (1997)
searching a range (2000)
Beta 18 (1997)
webdna page not found redirect (2007)
sandboxes with 6.0 (2004)
Error: Too many nested [xxx] contexts (1997)
EmailFolder Correct Permissions ? (2003)
Type 11 errors setting up WebCAt 2 (1997)
sorting by date Y2K mix up (2000)
Verisigns SDK (pay flo pro) (2002)
ShowIf variables (1997)
Separate SSL Server (1997)
international time (1997)
(2000)