hedra: A small library and executable for generating dice rolls.

[ game, library, mit, program ] [ Propose Tags ]

As in polyhedra. Generates dice rolls in the REPL or in a standalone executable.

Example REPL session:

$ cabal v2-repl
λ> 2 `d` 8
8 | 1 7
λ> 1 `d` 20
13
λ> 1 `d` 100
25 | 20 5
λ> 4 `d` f
3 | [ ] [+] [+] [+]

Example session in the executable:

$ cabal v2-run hedra
hedra> 2d8
2d8: 14 | 6 8
hedra> 1d20
1d20: 1
hedra> d20
d20: 5
hedra> d100
d100: 61 | 60 1
hedra> d%
d%: 5 | 00 5
hedra> 4df
4df: 2 | [ ] [+] [+] [ ]

[Skip to Readme]
Versions [faq] 0.1
Dependencies base (>=4.10 && <4.13), haskeline (>=0.7.4.3 && <0.8), hedra, random (>=1.1) [details]
License MIT
Author Viktor Tanyi
Maintainer tanyi.viktor@gmail.com
Category Game
Home page https://github.com/vtan/hedra
Source repo head: git clone https://github.com/vtan/hedra.git
Uploaded by vtan at Wed Jan 2 19:53:18 UTC 2019
Distributions NixOS:0.1
Executables hedra
Downloads 173 total (11 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs not available [build log]
All reported builds failed as of 2019-01-02 [all 3 reports]

Modules

  • Hedra

Downloads

Maintainer's Corner

For package maintainers and hackage trustees


Readme for hedra-0.1

[back to package description]

hedra

As in polyhedra. Generates dice rolls in the REPL or in a standalone executable.

Example REPL session:

$ cabal v2-repl
λ> 2 `d` 8
8 | 1 7
λ> 1 `d` 20
13
λ> 1 `d` 100
25 | 20 5
λ> 4 `d` f
3 | [ ] [+] [+] [+]

Example session in the executable:

$ cabal v2-run hedra
hedra> 2d8
2d8: 14 | 6 8
hedra> 1d20
1d20: 1
hedra> d20
d20: 5
hedra> d100
d100: 61 | 60 1
hedra> d%
d%: 5 | 00 5
hedra> 4df
4df: 2 | [ ] [+] [+] [ ]