A small module for creating a card deck, used for making card games

Version 2.0.0

A library used for creating a card deck, which provides useful classes and methods for a user who wants to create card games.

Installation

Use the package manager pip to install this package:


Usage

Start by importing Deck and Hand from akeuroo-deck:

from akeuroo_deck import Deck, Hand

Instantiate the Deck like the following:


There are two classes you can use, Deck and Hand, the following information will be about them:


Deck has two methods, which are draw and shuffle.

The instance of Deck and the shuffle() should not be included inside any loops (unless you need it to). If you were to draw a card from the Deck,

 

 

 

To finish reading, please visit source site