I vibecoded a small app to do probability calculations.

This supports:

  • Various dice sizes (d4, d6, d8, d10, d12, d20, d100, custom)
  • Exploding, keep highest/lowest, rerolling on particular results, bonus dice on particular results
  • Split pools (e.g. power dice)
  • Calculating introspections (e.g. number of dice with a result >= 4)
  • Test rolls

Inspired by the fantastic website Anydice, which is a brilliant application but one which requires a little tech savvy to use.

This is 100% JS/HTML/CSS, meaning that it doesn't require any infrastructure to use; you can download the file and run it offline.

The JS/HTML/CSS is available in one file (index.html) and in parts in the downloadable folder, as well as a python script that can be run to assemble them (this made it a lot easier for the AI to work with).

I do not have mobile compatibility at the moment, but could be bothered to add it (especially since I'm not the one doing the work) if anyone would actually use it. Mobile compatibility is an in-progress feature; itch.io seems to break the implementation that works natively elsewhere. You can find a working mobile version at https://probability.loreshapers.net/ or download "probability calculator.html" and open it in your web browser.

If you encounter any issues, please let me know in the comments.

The cover image uses a photo from Lee Schönbauer on Pexels.

Published 12 hours ago
StatusReleased
CategoryTool
PlatformsHTML5
AuthorLoreshaper Games
AI DisclosureAI Assisted, Code

Download

Download NowName your own price

Click download now to get access to the following files:

download.zip 55 kB
probability calculator.html 142 kB

Leave a comment

Log in with itch.io to leave a comment.