Skip to content

A tiny library for dealing playing cards in Python

Notifications You must be signed in to change notification settings

ajzaff/tinydeck

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

Tinydeck ♠ ♥ ♦ ♣

A tiny library for dealing playing cards in Python.

Usage

# First things first
import tinydeck
# Vanilla 52-card deck generator.
# The order is randomized.
deck = tinydeck.deal()
# Deal hand of size 2
hand = tinydeck.deal(source=deck, limit=2)

About

A tiny library for dealing playing cards in Python

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages