Skip to main content

Creates a 52 Card Deck (No Jokers or other extra cards)

Project description

🃏 PyCardDeck

A lightweight Python package for simulating a deck of playing cards — including dealing, drawing, discarding, and wildcard logic. Designed for game development, simulations, or educational use.


🔧 Features

  • Full 52-card deck generation (with optional jokers coming soon)
  • Wildcard support (e.g., Deuces as wilds)
  • Deal a hand, draw cards, discard to pile
  • Automatically reshuffles from discard when deck runs out
  • Custom card logic using Python classes and enums
  • Modular code structure for easy reuse or extension

📦 Installation

git clone https://github.com/Randyiscoding/PyDeck.git
cd PyDeck
python3 main.py   # Or your demo file <-- not usable haven'y made a Demo file yet but i got you i promies lol

Project details


Download files

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

Source Distribution

pydeck_randyiscoding-0.0.1.tar.gz (7.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pydeck_randyiscoding-0.0.1-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

File details

Details for the file pydeck_randyiscoding-0.0.1.tar.gz.

File metadata

  • Download URL: pydeck_randyiscoding-0.0.1.tar.gz
  • Upload date:
  • Size: 7.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.28.1

File hashes

Hashes for pydeck_randyiscoding-0.0.1.tar.gz
Algorithm Hash digest
SHA256 ad5a969637933e17ed6b67af2825a7e64b029959a92366968ff2242e5b833d45
MD5 99e1fecd5916f23135c91491f0de0db3
BLAKE2b-256 ca2e77b1811f022ea9798f8779a44d08a3648c753ddb0f7b94f41d7d8fd783e6

See more details on using hashes here.

File details

Details for the file pydeck_randyiscoding-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for pydeck_randyiscoding-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4d9f8cd7061f23754495a6764219c5e7190eb8e7268a14fd314a6e69ed62c205
MD5 7d695630ede9dd9088ab84cf4390408c
BLAKE2b-256 b99190880fc5abac40899fd60a23c05b5495b61a72e5543a864027ae55bc954e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page