Skip to content

imait/hmctgmls

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hmctgmls

How many challenges to get the my lovely ship ?

hmctgmls is a short script to get the number of trials to win a rare drop item.

include a python script and a html with JavaScript.

Usage

Python version

hmc.py is a command line tool. hmc.py demands one command line argument as drop rate.

Exemple

$ python hmc.py 2.5

How many challenges to get the my lovely ship ?

When the drop rate is 2.5%.

result
20% : 9
50% : 28
80% : 64
90% : 91
95% : 119
98% : 155
99% : 182
99.999%: 455

JavaScript version

Open index.html.

Demonstration

Author

  • IMAI Toshiyuki

Copyright (c) 2015 IMAI Toshiyuki

This software is released under the MIT License, see LICENSE.

About

How many challenges to get the my lovely ship ?

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published