The ANY <Type> functionality in cmd_prob() has been omitted from this branch.
Added the two deck analysis commands below. Their names may not be descriptive enough. Also, they could possibly be combined into a larger function later.
Added cmd_cdist(), which shows card color distribution of the active deck (e.g. how many of each color card, their percentages among colors/cards in the deck)
Added cmd_csdist(), which shows color symbol distribution in the active deck (e.g. how many total mana symbols of each color are there in the deck)
Added the Beautiful Soup 4 source into the project. It used in deckbuilder.py in _scrapeDeck() (which may need to be more appropriately named).
Added cmd_import() which uses _scrapeDeck() to create a deck from a deck-listing on mtgdeckbuilder.net.
Added listType() in deck.py to list all cards in the deck of a certain type. This can be used in future analysis applications, and is currently being used in the ANY functionality of cmd_prob()
ANY <Type>
functionality incmd_prob()
has been omitted from this branch.cmd_cdist()
, which shows card color distribution of the active deck (e.g. how many of each color card, their percentages among colors/cards in the deck)cmd_csdist()
, which shows color symbol distribution in the active deck (e.g. how many total mana symbols of each color are there in the deck)deckbuilder.py
in_scrapeDeck()
(which may need to be more appropriately named).cmd_import()
which uses_scrapeDeck()
to create a deck from a deck-listing on mtgdeckbuilder.net.listType()
indeck.py
to list all cards in the deck of a certain type. This can be used in future analysis applications, and is currently being used in theANY
functionality ofcmd_prob()