Jump to content
Sign in to follow this  
wastevens

Roll and keep odds and expected results with the funny dice

Recommended Posts

I wrote a toy to provide a rough guestimate as to the expected success percentage of number of successes/opportunities/strife you can expect with various target numbers, ring dice, and skill dice.

Said numbers are available in a google sheet https://docs.google.com/spreadsheets/d/1r4Z4TJ1suBf_p4b0rcDJAMH37UjpKdYHtt1myYh3m3Q/edit?usp=sharing

For those who want to inspect the logic, it's available at https://github.com/wastevens/RokuganDice (not my finest work; like I said, this is a toy so I didn't bother with proper unit tests)

TL;DR for the code- basically, on each check, until it's gotten at least TN successes, it tries to keep rerolls, successes, and opportunities (in that order), favoring no-strife results over results with strife.

Once the check has successes equal to or greater than the TN, it changes to prioritizing keeping opportunities, rerolls, and successes (in that order), favoring no-strife results over results with strife.

While not 100% accurate (sometimes you just want to max your number of bonus successes, and if you're going to fail you might aim to minimize strife or maximize opportunities), but I figure it's a reasonable first-order approximation.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...