cargo fend 0.1.21
Version 0.1.21

latest releases: 1.4.9, 1.4.8, 1.4.7...
2 years ago

Changes in this version:

  • Add support for D&D-style dice syntax. For example, d6 refers to a standard 6-sided die.
    > roll d6
    4
    > roll d20 # 20-sided die
    17
    > roll 2d6 # sum of two 6-sided dice
    7
    > 2d6 # view the probability distribution
      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%  #####
    > roll(d20 + d6 + 4) # arithmetic operations
    14
    
  • Fix lux unit definition
  • Remove the -> conversion syntax: use to instead

Don't miss a new fend release

NewReleases is sending notifications on new releases.