EDIT: I do suck. The expected value of Math.random*11 is 5.5, which floors to 5. Thus the total is 10.