Project

hdeck

0.0
No commit activity in last 3 years
No release in over 3 years
CLI tool to manage decks of harrow cards.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.17
>= 0
~> 10.0
~> 3.0

Runtime

>= 0
 Project Readme

HDeck

Build Status Gem Version

CLI tool to manage decks of harrow cards. Designed to make working with the Card Caster archetype class easier.

Installation

gem install hdeck

Examples

General Use

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 throw

Full 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

  • Publish gem
  • Save & Load decks
  • More deck management options (# cards, shuffling)
  • Better CLI formatting
  • Better error handling
  • Harrow reading support