Move to deck, move to discard. Core code should be a move method defined in card_state:
def move(pile, location)
With pile being 'deck' or 'discard' and location being :top, :bottom, or an integer location. Moving should be possible from a variety of locations, but each origin should have a separate permission.
Move to deck, move to discard. Core code should be a move method defined in card_state:
def move(pile, location)
With pile being 'deck' or 'discard' and location being :top, :bottom, or an integer location. Moving should be possible from a variety of locations, but each origin should have a separate permission.