Skip to content

a library and a CLI for dice rolls in Time of Legends: Joan of Arc (deno/typescript implementation)

Notifications You must be signed in to change notification settings

ycardon/joa-dice-deno

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JoA Dice Deno

a library and a CLI for dice rolls in Time of Legends: Joan of Arc

Adaptation from the Node/Typescript original project

I'm also using that project as a use-case for exploring other languages, check the joa-dices-rewrite flag.

build

deno task compile

usage

./target/joa-dice-deno <attack dices> [: <defense dices>]

where <attack dices> and <defence dices> 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 dices

for 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

About

a library and a CLI for dice rolls in Time of Legends: Joan of Arc (deno/typescript implementation)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published