VANAMBURG::PacketFactory

Provide class methods to create a variety of well know stacks, as well as methods to create arbitrary packets and stacks from a comma separated list of card abbreviations.

create_packet

Given a comma separated list of card abbreviations (e.g., "AD,2S,JD") this method instantiates a VANAMBURG::Packet with those cards. The cards are instance of VANAMBURG::Card.

create_stack

Given a comma separated list of card abbreviations (e.g., "AD,2S,JD") this method instantiates a VANAMBURG::Packet with those cards. Similar to create_packet, but the cards are instances of VANAMBURG::StackCard having a stack number attribute.

create_stack_aronson

Creates an Aronson stack as an instance of VANAMBURG::Packet. Each card is an instance of VANAMBURG::StackCard.

create_stack_joyal_chased

Creates a Martin Joyal stack using the CHaSeD order as an instance of VANAMBURG::Packet. Each card is an instance of VANAMBURG::StackCard.

create_stack_joyal_shocked

Creates a Martin Joyal stack using the SHoCkeD order as an instance of VANAMBURG::Packet. Each card is an instance of VANAMBURG::StackCard.

create_stack_mnemonica

Creates Juan Tamariz's Mnemonica stack as an instance of VANAMBURG::Packet. Each card is an instance of VANAMBURG::StackCard.

create_stack_breakthrough_card_system

Creates Richard Osterlind's Breakthrough Card System stack as an instance of VANAMBURG::Packet. Each card is an instance of VANAMBURG::StackCard.

create_si_stebbins_shocked_3step

Creates Si Stebbins stack in SHoCkeD order where card values increment by 3 as an instance of VANAMBURG::Packet. Each card is an instance of VANAMBURG::StackCard.

create_si_stebbins_shocked_4step

Creates Si Stebbins stack in SHoCkeD order where card values increment by 4 as an instance of VANAMBURG::Packet. Each card is an instance of VANAMBURG::StackCard.

create_si_stebbins_chased_3step

Creates Si Stebbins stack in CHaSeD order where card values increment by 3 as an instance of VANAMBURG::Packet. Each card is an instance of VANAMBURG::StackCard.

create_si_stebbins_chased_4step

Creates Si Stebbins stack in CHaSeD order where card values increment by 4 as an instance of VANAMBURG::Packet. Each card is an instance of VANAMBURG::StackCard.