Skip to content

fend-web does not support rendering ASCII graphs for dice probability distributions #283

Open
@ThibaultLemaire

Description

@ThibaultLemaire

Hi,

What an awesome project, I love it.

I've noticed the web version does not produce the same output as the documentation when inputting

> 2d6
{ 2: 2.78%, 3: 5.56%, 4: 8.33%, 5: 11.11%, 6: 13.89%, 7: 16.67%, 8: 13.89%, 9: 11.11%, 10: 8.33%, 11: 5.56%, 12: 2.78% }
> version
1.4.5

and that made me a bit sad.

So I ran the nixpkgs version, and there it worked as expected!

> 2d6
  2:  2.78%  #####
  3:  5.56%  ##########
  4:  8.33%  ###############
  5: 11.11%  ####################
  6: 13.89%  #########################
  7: 16.67%  ##############################
  8: 13.89%  #########################
  9: 11.11%  ####################
 10:  8.33%  ###############
 11:  5.56%  ##########
 12:  2.78%  #####
> version
1.4.3

I didn't see anything about that in the changelog, so I'm filing it as a "regression"

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions