craigtheegg/deckbuilder — pull request #7 by kevlar1818 (2012-06-14 15:25:38+00:00)
Title: "ANY" functionality to cmd_prob() omitted, all other changes included

- **The `ANY ` 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()`