card-stack 0.1.0

The Stack for card games
Documentation
  • Coverage
  • 12.2%
    10 out of 82 items documented0 out of 57 items with examples
  • Size
  • Source code size: 21.83 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 5.15 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Links
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • Ripper53

Card Stack

NOTE: crate name reserved for in-production crate. Not at all near completion. Will be used by card-game crate.

A priority and stack system for card games. Most card games like MTG, YuGiOh, and a plethora of other TCGs include a variant of priority and the stack that dictates the rules of what action and when an action can be placed on the stack, and how/when they resolve. This crate includes traits which help implement your own stack for your TCG.

How to Use

  1. Create an enum for inciting actions and stackable actions
  2. Create a resolver for inciting actions and stackable actions