.comment-link {margin-left:.6em;}

December 14, 2011

 

Update on Die Rolling and Random Numbers

Unless Lego has fixed this in a newer version of the firmware, the way to work around the problem I mention in a post below is to have an initial part of your program loop. In the loop, generate a random number. Stop the loop when the user presses a button. The user will take varying amounts of time which will cause the next random number generate (after the loop is complete) to be more random.

Comments:
This comment has been removed by a blog administrator.
 
This comment has been removed by a blog administrator.
 
This comment has been removed by a blog administrator.
 
This comment has been removed by a blog administrator.
 
This comment has been removed by a blog administrator.
 
Post a Comment



<< Home

This page is powered by Blogger. Isn't yours?