Giter Club home page Giter Club logo

dice-probabilities's People

Contributors

sizezero avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

livesurge

dice-probabilities's Issues

don't round to 100%

If there is any chance of failure, the displayed percentage should not round to 100%

Allow multiple special values

Several people have asked for multiple special values to be selectable at the same time. There are several aspects that make this difficult.

  1. Changing the special dropdown control to multiple selection is not difficult but displaying multiple specials in the closed listbox is not possible.

  2. Calculations will be difficult. The current design accounts for only a single special. Many of the specials are incompatible and a new design will have to take this into account.

check simulator does not show damage

The check simulator just uses final probabilities and thus the user doesn't know the damage taken from a failed combat check.

This will probably require extra methods added to the Distribution interface so that the full history of dice are stored, can be re-simulated, the results displayed including how much the check fell short. The way the specials are handled within distributions will probably have to change too.

button sizes should not change

When the green target button changes from 9 to 10 the button changes size which makes it easy for repeated button presses to miss. Choose a min button size that does not resize buttons for common values.

Incorrect percentage with lots of dice

If you make a huge roll the percentages eventually approach zero. e.g.:
18d12 >= 91 => 96%
19d12 >= 91 => 99%
20d12 >= 91 => 2%
21d12 >= 91 => 0%

This is probably due to the optimization for single dice stacks. It uses longs for the calculation which is probably causing and overflow.

easy to accidentally display the background graph

Pressing buttons seems to occasionally display the background graph. I think this is happening because you press the graph in the tiny space between the buttons. It's possible that this can be easily fixed by having the layout behind the buttons eat the mouse presses.

Add crit dice

Some weapons allow for critical hits where some numbers are translated to other numbers. Dogslicer is a base d6 that translates 1s to 3s and Scythe is a base d4 that translates 4s to 6. I suppose I could add dogslicer and scythe dies but I'd rather there was a general way to handle this.

need negative constant value

Some die rolls have negative constants. We need a UI mechanism for adding negative constants. Right no a zero value constant is hidden so there's no way to make it negative.

Maybe only hide the constraint if it's zero and there are no other dice.

Reroll calculations

There are at least two types of rerolls available:

  1. Even after a success you must roll again in order to win
  2. After a failure you may roll again to succeed.

This could be handled in a spinner control with the text
"roll once"
"roll twice"
"roll twice wtih no failures"

incorrect percentage with Desecrated Vault

The desecrated vault special says that after a successful roll, the check will always fail on a 1 in 6. The current behavior occasionally yields 100% This may be a problem with the current implementation which assumes cumulative probability eventually reaches 100%.

screenshot_2014-02-13-21-09-00

change app name

Dice Probabilities is a general name which was appropriate when the project first started. Now it's clearly very specific to Pathfinder the Adventure Card Game.

Change the name to "PACG Probabilities"

This should occur in both the App and in the play store when the next release happens. It's not possible to rename this git repository.

Add new special for warlord

Subtract one from every dice rolled. I'd like to have a more general name for this since it is used in multiple cards.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.