This is a tool for calculating dice probabilities and outcomes for X-Wing Second Edition by Fantasy Flight Games. The goal of the tool is to aid players in list building, target selection and token spending by helping to develop intuition about the probabilities of various outcomes.

Computing simple dice probabilities by hand is straightforward, but more complex scenarios involving many tokens and multiple attacks become tedious and error-prone even when using a spreadsheet.

Rather than rely on random simulation, this tool calculates probabilities directly via an exhaustive search of all possible outcomes. This runs extremely fast (a couple milliseconds for most realistic cases) and produces accurate and repeatable results.

Source code for the tool is available on Github under the MIT license. Please feel free to browse the code, fork and/or submit issues and pull requests!

Frequently Asked Questions

Upgrade Questions