Home - Trebek/pydealer GitHub Wiki

About

PyDealer is a simple Python package for constructing a Deck instance, of 52 common playing cards. Each card is a separate Card instance, with a name, value, suit, and abbreviation. Could possibly be used as the backend for a command prompt/console, card-based game, or even to a graphical game as well, I suppose.

This package could also be of interest from a learning perspective, because it is such a simple package, relatively speaking, and because I've made an effort to document the code thoroughly (perhaps too thoroughly). In fact, without all of the documentation in the code, this package is less than half the size (about ~10kb, and ~370 sloc, compared to ~24kb and ~750 sloc).

Attention

If you are going to make a pull request, please do so on the dev branch. Thank you. And make sure you are working on the latest version of the dev branch.

⚠️ **GitHub.com Fallback** ⚠️