Heroscapers
Go Back   Heroscapers > Custom HeroScape Creations > Software
Software Software created for enhancing HeroScape


Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old June 28th, 2009, 01:47 PM
Obsidian's Avatar
Obsidian Obsidian is offline
 
Join Date: March 2, 2009
Location: USA - IA- Des Moines
Posts: 730
Images: 24
Obsidian wears ripped pants of awesomeness Obsidian wears ripped pants of awesomeness Obsidian wears ripped pants of awesomeness Obsidian wears ripped pants of awesomeness Obsidian wears ripped pants of awesomeness Obsidian wears ripped pants of awesomeness
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.
Reply With Quote
  #2  
Old June 28th, 2009, 01:49 PM
Obsidian's Avatar
Obsidian Obsidian is offline
 
Join Date: March 2, 2009
Location: USA - IA- Des Moines
Posts: 730
Images: 24
Obsidian wears ripped pants of awesomeness Obsidian wears ripped pants of awesomeness Obsidian wears ripped pants of awesomeness Obsidian wears ripped pants of awesomeness Obsidian wears ripped pants of awesomeness Obsidian wears ripped pants of awesomeness
Re: Heroscape Probability Calculator

Version 1.1 Download it here.



Last edited by Obsidian; July 28th, 2009 at 01:23 PM.
Reply With Quote
  #3  
Old June 28th, 2009, 08:44 PM
AliasQTip's Avatar
AliasQTip AliasQTip is offline
 
Join Date: October 17, 2008
Location: USA - MD - Sharpsburg
Posts: 1,249
Images: 194
Blog Entries: 49
AliasQTip is inducted into the Halls of Valhalla AliasQTip is inducted into the Halls of Valhalla AliasQTip is inducted into the Halls of Valhalla AliasQTip is inducted into the Halls of Valhalla AliasQTip is inducted into the Halls of Valhalla AliasQTip is inducted into the Halls of Valhalla AliasQTip is inducted into the Halls of Valhalla AliasQTip is inducted into the Halls of Valhalla AliasQTip is inducted into the Halls of Valhalla AliasQTip is inducted into the Halls of Valhalla
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.
Reply With Quote
  #4  
Old June 28th, 2009, 10:43 PM
Obsidian's Avatar
Obsidian Obsidian is offline
 
Join Date: March 2, 2009
Location: USA - IA- Des Moines
Posts: 730
Images: 24
Obsidian wears ripped pants of awesomeness Obsidian wears ripped pants of awesomeness Obsidian wears ripped pants of awesomeness Obsidian wears ripped pants of awesomeness Obsidian wears ripped pants of awesomeness Obsidian wears ripped pants of awesomeness
Re: Heroscape Probability Calculator

Quote:
Originally Posted by AliasQTip View Post
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.
Cool table.
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.
Reply With Quote
Reply

Go Back   Heroscapers > Custom HeroScape Creations > Software
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Heroscape matchup calculator (9-22-10 update) mathguy Software 154 February 5th, 2017 07:18 PM
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


All times are GMT -4. The time now is 04:34 AM.

Heroscape background footer

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2020, vBulletin Solutions, Inc.
User Alert System provided by Advanced User Tagging (Lite) - vBulletin Mods & Addons Copyright © 2020 DragonByte Technologies Ltd.