Switch Theme:

Mathhammer Python Script  [RSS] Share on facebook Share on Twitter Submit to Reddit
»
Author Message
Advert


Forum adverts like this one are shown to any user who is not logged in. Join us by filling out a tiny 3 field form and you will get your own, free, dakka user account which gives a good range of benefits to you:
  • No adverts like this in the forums anymore.
  • Times and dates in your local timezone.
  • Full tracking of what you have read so you can skip to your first unread post, easily see what has changed since you last logged in, and easily see what is new at a glance.
  • Email notifications for threads you want to watch closely.
  • Being a part of the oldest wargaming community on the net.
If you are already a member then feel free to login now.




Made in us
Kid_Kyoto






Probably work

So I wrote a python script that runs through a given combat situation several thousand times and gives you simulated outcomes. I've had this working for a little while now and I think I'm satisfied enough to be willing to share outside of the AM tactica thread.

You can find it at https://github.com/daed/mathhammer, which is also in my sig.

Note that the work on this was mine, though the original credit for the idea belongs to our Inquisitor Lord Katherine who wrote his/her own first, though to the best of my knowledge, has not made the code public.

It requires python 3.6 or higher, which you can download from https://www.python.org/downloads/.

My eventual goal is to be able to put it up on some webhosting somewhere, and perhaps render graphs with the results. I also have no timetable for this whatsoever.

Assume all my mathhammer comes from here: https://github.com/daed/mathhammer 
   
 
Forum Index » 40K General Discussion
Go to: