Skip to content

ThibaultDucray/dice

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

dice

Experiments on random dice

In terminal, run: $ python dice.py <nb_of_dice_to_sum>

/!\ nb_of_dice_to_sum between 1 and 4

eg: $ python dice.py 2

produces the following output :

Probabilist simulation 2 2.6839999999999997 3 5.6259999999999994 4 8.38 5 10.988000000000001 6 13.828 7 16.628 8 14.244000000000002 9 11.196 10 8.27 11 5.354 12 2.802 Sum of random dice 2 2.734 3 5.434 4 8.394 5 11.062 6 13.788 7 16.636 8 14.194 9 11.032 10 8.484 11 5.524 12 2.718 Dumb linear random 2 9.166 3 9.044 4 9.068 5 8.936 6 9.184000000000001 7 9.088000000000001 8 9.202 9 9.049999999999999 10 9.142 11 9.098 12 9.022

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages