Fun, too! I just spent a nice few minutes in the Chrome debug console brute forcing it.
I suck at stats but isn't the expected value of Math.random E=0.5? Which makes the result Ex11x2 = 11?
EDIT: I do suck. The expected value of Math.random*11 is 5.5, which floors to 5. Thus the total is 10.
or just send an email to 0@,1@,2@,3@,4@...22@ :)
Assuming they won't notice that is probably not the right way to go.
Also, 22@ might be a little high. Just sayin'
Heh ... I wonder why they didn't multiply by 7 (rather than 11)? The frequency counts would have been the same as rolling two dice. Too obvious perhaps? Or maybe that would have attracted the wrong sort of developers :-p
Ardent monopoly fans? heh. I not particularly skilled in javascript but surely multiplying by 7 would return a number between 0 and 6 inclusive? Which is much more like rolling two 7 sided dice numbered from 0 which yields a different value in the pattern.