Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ycardon/joa-dice-deno
a library and a CLI for dice rolls in Time of Legends: Joan of Arc (deno/typescript implementation)
https://github.com/ycardon/joa-dice-deno
deno joa-dices-rewrite typescript
Last synced: about 2 months ago
JSON representation
a library and a CLI for dice rolls in Time of Legends: Joan of Arc (deno/typescript implementation)
- Host: GitHub
- URL: https://github.com/ycardon/joa-dice-deno
- Owner: ycardon
- Created: 2023-07-20T13:00:36.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-07-20T13:07:46.000Z (over 1 year ago)
- Last Synced: 2024-10-19T07:16:05.586Z (3 months ago)
- Topics: deno, joa-dices-rewrite, typescript
- Language: TypeScript
- Homepage:
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# JoA Dice Deno
a library and a CLI for dice rolls in [Time of Legends: Joan of Arc](https://www.mythicgames.net/en/time-of-legends-joan-of-arc/)
Adaptation from the [Node/Typescript](https://github.com/ycardon/joa-dices) original project
I'm also using that project as a use-case for exploring other languages, check the [joa-dices-rewrite](https://github.com/topics/joa-dices-rewrite) flag.
## build
```
deno task compile
```## usage
```
./target/joa-dice-deno [: ]
```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-deno 2R` is 2 red dices in attack
- `joa-dice-deno 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