๐
๐ฆ
Generate kingdoms (card configurations) for the deck builder Dominion.
The site branch is automatically deployed to https://mjgpy3.github.io/dominion/.
This site is using wasm-pack
to generate WASM code from the same rust code that powers the binary.
No nifty binaries, use cargo run -- --help
to see the available options.
This is a port of Haskell project that I have for generating and tracking favorite kingdoms. I wanted to see what Rust is all about.
If you run, say
cargo run -- --ban-cards Witch \
--include-cards YoungWitch \
--include-expansions Base2 Renaissance \
--project-count 2 \
--hists \
--pretty
You might get a kingdom like
------------------ SETUP ------------------
โโโโโโโโโโโโโโโโโ
โ Kingdom Cards โ
โโโโโโโโโโโโโโโโโ
Cornucopia
- Young Witch
Base2/Base1
- Chapel
- Festival
- Gardens
- Laboratory
- Moneylender (Bane)
- Throne Room
Renaissance
- Old Witch
- Patron
- Villain
Base2
- Sentry
โโโโโโโโโโโโโโโโโ
โ Project Cards โ
โโโโโโโโโโโโโโโโโ
Renaissance
- CropRotation
- Piazza
------------------ HISTS ------------------
Cards' Costs:
-------------
2: โ (1)
3: (0)
4: โ โ โ โ โ (5)
5: โ โ โ โ โ (5)
6: (0)
Cards' types:
-------------
Action : โ โ โ โ โ โ โ โ โ โ (10)
Attack : โ โ โ (3)
Reaction: โ (1)
Victory : โ (1)
Treasure: (0)
Duration: (0)
Expansions' cards:
-----------------
Base1 : โ โ โ โ โ โ (6)
Base2 : โ โ โ โ โ โ โ (7)
Renaissance: โ โ โ (3)
Cornucopia : โ (1)