https://github.com/mgmarlow/hdeck
CLI tool to manage decks of harrow cards
https://github.com/mgmarlow/hdeck
cli harrow-cards pathfinder
Last synced: 7 months ago
JSON representation
CLI tool to manage decks of harrow cards
- Host: GitHub
- URL: https://github.com/mgmarlow/hdeck
- Owner: mgmarlow
- License: mit
- Created: 2018-12-23T19:56:14.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2020-02-29T16:25:18.000Z (over 5 years ago)
- Last Synced: 2025-03-14T12:36:56.050Z (7 months ago)
- Topics: cli, harrow-cards, pathfinder
- Language: Ruby
- Homepage:
- Size: 55.7 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# HDeck
[](https://travis-ci.org/mgmarlow/hdeck)
[](https://badge.fury.io/rb/hdeck)CLI tool to manage decks of [harrow cards](http://pathfinder.wikia.com/wiki/List_of_harrow_cards).
Designed to make working with the
[Card Caster archetype](https://www.d20pfsrd.com/classes/base-classes/magus/archetypes/paizo-magus-archetypes/card-caster-magus-archetype/)
class easier.## Installation
```
gem install hdeck
```## Examples
### General Use
```sh
hdeck new
hdeck shuffle
hdeck draw -n 3# Outputs:
# (Strength: N) The Keep
# Quiet, unshakeable strength that withstands any hardship.# (Intelligence: CE) The Snakebite
# Poison, venom, assassination, and discord.# (Wisdom: CG) The Publican
# Fellowship and refuge. The cyclops is a seemingly inconsequential figure who nonetheless has relevant insight.
```### Alignment (Role Dealer)
Alignment can also be factored in to take advantage of the Role
Dealer feat. You can configure alignment with the `--alignment`
flag. Defaults to CN.```
hdeck new --alignment LG
hdeck throwFull alignment match!
--------------------
crit range: 19-20
crit damage bonus: x3
+4 bonus to confirmation roll(Strength: LG) The Paladin
Standing resolutely against trouble, without backing down.
```## API
```
hdeck commands:
hdeck draw # draw from harrow deck (with replacement)
hdeck help [COMMAND] # Describe available commands or one specific command
hdeck length # number of cards left in the deck
hdeck new # create a new harrow deck
hdeck shuffle # shuffle the active harrow deck
hdeck throw # throw card from harrow deck (no replacement)
```## Roadmap
- [x] Publish gem
- [x] Save & Load decks
- [x] More deck management options (# cards, shuffling)
- [ ] Better CLI formatting
- [ ] Better error handling
- [ ] Harrow reading support