Heroscapers

Heroscapers (https://www.heroscapers.com/community/index.php)
-   Software (https://www.heroscapers.com/community/forumdisplay.php?f=28)
-   -   Sterilizing Pear - probability calculator for Heroscape (https://www.heroscapers.com/community/showthread.php?t=52547)

vegietarian18 December 23rd, 2015 09:46 PM

Sterilizing Pear - probability calculator for Heroscape
 

Sterilizing Pear - probability calculator for Heroscape and Arena of the Planeswalkers

Hi guys! Iím here with my first Android app, Sterilizing Pear. Itís a probability calculator for Heroscape and Arena of the Planeswalkers that gives average wounds per attack, and percent chance of getting at least 1-6 wounds in that attack. In addition, you can choose any number of special abilities such as Deadly Strike/Tough/Paralyzing Stare and get the same statistics for attacks involving them. I believe itís the most in depth source of probability tables for Heroscape out there right now. There is no iPhone version currently (or one underway) because droid master race I do not know how to program iPhone apps. If you would use an iPhone version of this app, just let me know and I can try to make it happen.

Features currently supported: Attack and Defense values up to 12
Offensive Abilities: Deadly Strike/Twinflame, Intense Strike (AotP), Red Flag of Fury, Venomous Sting, Paralyzing Stare, Net Trip, Stinger Drain and Poison Weapons/Poison Sting/Venom Ray .
Defensive Abilities: Shields of Valor, Tough, Iron Tough, One Shield Defense, Hatoís Aura, Defensive Agility/Stealth Dodge, Vanish*.
Poisonous Powers and Vanish support user inputted cutoffs for their d20 rolls.
*use Vanish for any defensive ability that negates wounds with a certain D20 value rolled. Itís named after Vanish because of my personal favorite of the bunch @dok


With this app, I set out to make all of the toggles play well together. For example, if you wanted to know what the chance of being counter struck in a Deadly Strike vs. Tough and Shields of Valor 4v5, I want to be able to offer that information. The app should do that*, although Heroscape rarely has questions of what order to apply buffs in, so I kind of made up what I thought was best based on what the cards read for some weird power combinations.
There are some exceptions:
Paralyzing Stare + Net Trip just gives Paralyzing Stare values. Not a priority to fix since I donít know how you get those both at the same time or why you would make a custom that had both.
Stinger Drain will give the counter strike chance for when the player actually attacks, ignoring the Drain case. I figured this was the most informative but itís kind of weird. Not sure exactly what is the most informative counter strike information for Stinger Drain tbh.


screenshots:


Features that may be implemented in the future:
Spoiler Alert!


If anyone spots any bugs/incorrect values from this app, please let me know. Iíve only been programming for a few months so I canít guarantee I didnít miss obvious things. I also only tested it on my own phone, so I donít know what itís like on other devices. At the very least, the app is fast and doesnít crash, so thatís good. Any general feedback such as interface tips or features you want to see would also be appreciated. I made this app for myself to learn from primarily, but Iíd love to hear that other people are using it. Hope you enjoy the app!

fomox December 24th, 2015 05:04 AM

Re: Sterilizing Pear - probability calculator for Heroscape
 
That's really cool!

How/where did you learn to make your own apps?

wriggz December 24th, 2015 09:29 AM

Re: Sterilizing Pear - probability calculator for Heroscape
 
Wicked. I like to run simulations on customs to get an idea of attack output and survivalbility when testing them.

This will help that process.

vegietarian18 December 24th, 2015 10:18 AM

Re: Sterilizing Pear - probability calculator for Heroscape
 
Quote:

Originally Posted by fomox (Post 2064009)
That's really cool!

How/where did you learn to make your own apps?

I learned Java in a class for my major, and I learned the parts of Android Studio I needed to learn through lots of patience and lots of Stack Overflow/Youtube tutorials. :)

Ninja Status December 24th, 2015 03:48 PM

Re: Sterilizing Pear - probability calculator for Heroscape
 
Whoa, this is awesome. My friend's Computer Programming class is going over this type of stuff at the moment. Not as extreme as what you're doing, I'm sure.
Nice work.
:up:

kevindola December 24th, 2015 04:29 PM

Re: Sterilizing Pear - probability calculator for Heroscape
 
Donwloaded it. Using it. Loving it.

Glad to see you putting that Big Ten education to work!

capsocrates January 13th, 2016 02:42 AM

Re: Sterilizing Pear - probability calculator for Heroscape
 
This is cool, Vegie. Nice work.

--

The only language I know of that will let you write truly cross-platform code is C++, using libraries like JUCE or Cinder for cross-platform UI. If you have the $$$ for certain licenses, there are some options involving C#, but they still wouldn't run on, for instance, a linux tablet or PC.

mtl1998 January 13th, 2016 11:48 AM

Re: Sterilizing Pear - probability calculator for Heroscape
 
Quote:

Originally Posted by vegietarian18 (Post 2063950)
If you would use an iPhone version of this app, just let me know and I can try to make it happen.

I have an iPhone and would definitely use the app if it were available. I'm not heart-broken that I can't, though.

Dysole January 18th, 2016 02:04 PM

Quick Observation
 
While playing around with it, it seems to not take into account the (admittedly not intuitive) rules interplay between poison powers and one shield defense. Still very useful. Well done.

~Dysole, trying to improve things

vegietarian18 January 19th, 2016 05:50 PM

Re: Sterilizing Pear - probability calculator for Heroscape
 
You are correct that I am incorrect. That seems like a weird interaction to me but I guess it has been officially ruled. I will fix it. Thanks for spotting it.

Dysole January 19th, 2017 02:28 AM

Another Random Catch
 
So...

Not sure how Tough is calculated in your programs. I noticed however that when I put on both Tough and Defensive Agility/Stealth Dodge and then checked it against Paralyzing Stare, it would never produce wounds which is incorrect. Tough only triggers if you get to roll defense dice which Paralyzing Stare denies. Any the who, thought you should know.

~Dysole, messing around with random things

vegietarian18 January 20th, 2017 05:12 PM

Re: Sterilizing Pear - probability calculator for Heroscape
 
I'm pretty sure Tough is (if tough){shields+=1;} or something like that.

I didn't know about that rule (I can actually think of times where I've Stared an Heirloom and let him have the autoshield). So Tough + Paralyzing Stare will give lower odds of damage than it should.

I will try to get it fixed eventually.


All times are GMT -4. The time now is 01:06 AM.

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