Skip to main content

Allows you to play with card decks

Project description

Deck of Cards

A basic card and deck class for playing around with cards. Cards are objects that have suits and numbers, with an id consisting of the number plus the first letter of the suit. Decks are arrays of card objects with some basic methods.

Getting Started

All you need to do is

pip install deckocards

and then you are done.

Prerequisites

You need:

  • Python 3 (preferably 3.6 and above)
  • pip package manager

Tests

There are automated tests built into the deck class. Simply run the deck.py file. This tests ensures that the card and deck objects are functioning. The output should be a series of decks in the console, along with the number of "flushes" that have occurred.

If no output is produced or an error occurs while running using this package, please email me here

Contributions

Feel welcome to contribute whatever you see fit to this project, as long as it improves its functionality.

License

The license can be found in the LICENSE.md file.

Project details


Release history Release notifications

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for deckocards, version 0.0.1
Filename, size File type Python version Upload date Hashes
Filename, size deckocards-0.0.1-py3-none-any.whl (3.9 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size deckocards-0.0.1.tar.gz (2.7 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page