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

[ game, library, mit, program ] [ Propose Tags ] [ Report a vulnerability ]

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]

Modules

  • Hedra

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.1
Dependencies base (>=4.10 && <4.13), haskeline (>=0.7.4.3 && <0.8), hedra, random (>=1.1) [details]
Tested with ghc ==8.2.2, ghc ==8.4.4, ghc ==8.6.3
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 2019-01-02T19:53:18Z
Distributions
Executables hedra
Downloads 607 total (5 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
All reported builds failed as of 2019-01-02 [all 3 reports]

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 | [ ] [+] [+] [ ]