yasuki_core.game_pieces.deck.Deck#
- class Deck(cards)[source]#
A simple LIFO deck abstraction where the “top” is the end of the list.
Methods
Deck.__init__(cards)Deck.add_to_bottom(cards)Deck.add_to_top(cards)Deck.build(cards)Deck.draw(n)Deck.peek(n)Deck.search(predicate)Deck.shuffle([seed])Attributes
cards