Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ycardon/joa-dices
a library, a CLI and a webapp for dice rolls in Time of Legends: Joan of Arc
https://github.com/ycardon/joa-dices
boardgame cli joa-dices-rewrite webapp
Last synced: 20 days ago
JSON representation
a library, a CLI and a webapp for dice rolls in Time of Legends: Joan of Arc
- Host: GitHub
- URL: https://github.com/ycardon/joa-dices
- Owner: ycardon
- Created: 2019-05-28T14:23:38.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-08T13:51:13.000Z (almost 2 years ago)
- Last Synced: 2024-10-15T08:02:56.034Z (24 days ago)
- Topics: boardgame, cli, joa-dices-rewrite, webapp
- Language: TypeScript
- Homepage:
- Size: 2.38 MB
- Stars: 0
- Watchers: 1
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# JoA Dices
a library, a CLI and a webapp for dice rolls in [Time of Legends: Joan of Arc](https://www.mythicgames.net/en/time-of-legends-joan-of-arc/)
I'm also using that project as a use-case for exploring dev in other languages
- [Typescript](https://github.com/ycardon/joa-dices) (original)
- [Rescript](https://github.com/ycardon/joa-dices-rescript)
- [Haskell](https://github.com/ycardon/joa-dices-haskell)
- [Rust](https://github.com/ycardon/joa-dices-rust)## install
```
npm install -g joa-dice
```## usage
![screenshot](doc/readme-cli.png)
```
joa-dice [: ]
```where `` and `` are
- `nN` n black combat dices
- `nR` n red combat dices
- `nJ` n yellow combat dices
- `nB` n white combat dices
- `nG` n gigantic combat dices
- `nD` n doom dicesfor example:
- `joa-dice 2R` is 2 red dices in attack
- `joa-dice 2R 1J : 2N` is 2 red and 1 yellow dices in attack vs 2 black dices in defence, in that case the CLI is also calculating the net attack score by substracting defence shields
## webapp
![screenshot](doc/readme-web.png)