Posted by hale on 2013-04-17 11:21:50
Ogre coach here can't figure out what's it do
Posted by Rabe on 2013-04-17 12:09:56
I guess you could simply play TT Blood Bowl without dice. :-)
Posted by happygrue on 2013-04-17 12:49:12
the RNG is totally broken. I rolled a D6 six times and go four 5s! Teh hax! ;)
Posted by Elyoukey on 2013-04-17 14:40:17
You may experience a bug that prevent the dice to roll more than once on IE, i will try and fix this tonight. But athor browseer should work ok.
Posted by neoliminal on 2013-04-17 19:33:10
Please allow me to link to a game and have it parse the results per coach.
Posted by neoliminal on 2013-04-17 22:58:40
If the previous is not clear, I want to link to a game and determine who had the "luckier" game, thereby allowing me to blame luck for my loses. ;-)
Posted by Christer on 2013-04-17 23:52:19
Oh my, do I see a LCG based random number generator driving the random numbers? Prepare to cope with hordes of people complaining that the dice are broken! :P
On a more serious note, I suggest you switch to a Mersenne Twister to drive the random numbers. It's a better algorithm overall, and I'm sure you can find a Javascript implementation online for it. If nothing else, it could allow you to repeat roll sequences (or synchronize between two users if you wanted to).
Posted by neoliminal on 2013-04-18 04:56:08
Does no one use Wolfram's rule 30 celular automata to create random numbers?
http://en.wikipedia.org/wiki/Rule_30
Posted by Elyoukey on 2013-04-18 13:29:21
@christer, given the fact that this page is more than easily fakable, i don't see the urge to have a very secure RNG since my page will(should) never be high level trusted. At least not most trustable than real dice. Also i used a jQuery library which encapsulate the randomness,(the shuffle function) so if i want to change the RNG i will have to recompute this part.
I will whenever have a look at the Mersenne Twister implementations for js.
@neoliminal i will also have a look at this rule 30, seems interesting (maybe not for RNG thoght).