|
Software Software created for enhancing HeroScape |
![]() |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
||||
|
||||
Heroscape Probability Calculator
This site already has probability tables, but I wanted something that could be flexible, calculate on the fly, or take really extreme situations just for curiosity's sake. The Heroscape Probability Calculator is designed to do that.
This code is not perfect, and I am sharing the source code with everyone so they can look at, critique, and maybe learn from it. You will need python on your machine to run this code. -Go to http://www.python.org/download/ and look for the latest download. The link should be towards the top of the page. As of this date, 3.0.1 is the latest version. -Under the Download section, choose the version that best works for your machine. Click on the link and save the executable file. - Run the executable file and follow the instructions on the install wizard. -There should now be a python folder in the directory you specified during the install. In this folder you will find IDLE (Python GUI). Open it. - This python shell is where you will run the Heroscape Probabilities Calculator. Click File -> New Window. - You can find the code in a text file here. Copy and paste this text into the new window of your python shell. - You can now run the file by clicking Run -> Run Module (Or you can press F5). Now that you have the code running, type the name of the function you want, and fill in the parameters. If you wanted to know the odds that you will get at least two wounds on Braxus with Sargent Drake, type: atLeastWounds(6,3,2) then press enter. The 6 is for Drake's attack value, 3 for Braxus's defense value, and 2 for 2 wounds. Last edited by Obsidian; July 28th, 2009 at 01:22 PM. |
#2
|
||||
|
||||
Re: Heroscape Probability Calculator
Version 1.1 Download it here.
Last edited by Obsidian; July 28th, 2009 at 01:23 PM. |
#3
|
||||
|
||||
Re: Heroscape Probability Calculator
I don't keep a laptop next to me while playing HeroScape so I just use a printed copy of my Dice Probability Chart. However, I might borrow some of your code for a program for my TI89 calculator. That'd be pretty cool. Nice work.
My Maps & Scenarios | My HeroScape Fan Site | My Design Blog
Why not try treasure hunting in Soulrazor Hollow! |
#4
|
||||
|
||||
Re: Heroscape Probability Calculator
Quote:
That would be awesome to have a TI89 program...it would be awesome to have a TI89. Last edited by Obsidian; June 30th, 2009 at 12:31 PM. |
![]() |
|
Thread Tools | Search this Thread |
Display Modes | |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Heroscape matchup calculator (10/2020 update) | mathguy | Software | 156 | October 15th, 2020 04:51 AM |
HPC (Heroscape Point Calculator): Basic point costs | Xotli | Software | 51 | October 20th, 2016 10:30 AM |
Hit Probability for Microcorp and Other. Need help!!! | MKSentinel | HeroScape General Discussion | 0 | April 15th, 2007 12:45 PM |
Proposed program: Heroscape Point Calculator | Xotli | Software | 12 | October 2nd, 2006 09:31 PM |