This is the source code for chance statistics game for you to study and see how statistical mechanism works.