craigtheegg/deckbuilder — pull request #6 by kevlar1818 (2012-06-13 18:41:53+00:00)
Title: "ANY" functionality to cmd_prob(), cmd_cdist(), cmd_csdist, cmd_import(), listType()

- The `ANY ` functionality has been added to `cmd_prob()`. The overlapping Type issue has not been handled.
- 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()`