Skip to main content

5 Card Draw Video Poker application

Project description

Contributors Forks Stargazers Issues MIT License LinkedIn


Logo

VideoPoker-5CardRedraw

A pythonic creation of a 5 card redraw video poker.
Explore the docs »

View Demo · Report Bug · Request Feature

Table of Contents
  1. About The Project
  2. Getting Started
  3. Usage
  4. Contact
  5. Acknowledgments

About The Project

5 Card Draw is a playable Python 5 card draw poker application. This project served as a hands-on Python learning experience in 2021. On my journey, I learned about creating graphical user interfaces in python, pythonic best practices, CI/CD workflows, PyPi deployments, and much more. The beautiful learning opportunity provided this project was balancing desired learning opportunities and refining 5 Card Draw into a polished application. This project is currently archived with the last remaining features involved further polishing the UI/UX experience, adding sound, and cashing out player credits. If I were to start over, I'd rank poker hands with a symantic system over a integer score.

(back to top)

Features

  • 5 Card Redraw
    • Modular Hand Ranking and Scoring
    • Player Hand and Deck creation
    • Playable GUI interface
    • Bank text file
  • PyPi Installs
  • Pep 8 Standards
  • GitHub CI/CD Pipelines

(back to top)

Getting Started

The following is an guide for running 5 card redraw poker locally.

Prerequisites

  1. Python 3.10.8 or Newer

Installation

Developer Install:
Summary: The developer install is for those who want to contribute to or clone VideoPoker-5CardRedraw.

  1. Clone the repo (or use Github Desktop)
    git clone https://github.com/ralbee1/VideoPoker-5CardRedraw.git
    
  2. Open the CLI and navigate the current working directory to where you cloned VideoPoker-5CardDraw
  3. Install the Pip Package from the CLI, copy and run this command:
    py -m pip install -e .
    


User Install
1. Automatic User Install from the Command line via PyPi. ```sh pip install five-card-draw ```

(back to top)

Usage / How to Play

If your python files open with Python by default then from the commmand line run:

5_card_draw.py;

The game is played by aiming to make the best poker hand possible. The top of the interface shows the hand ranking and the payouts sorted by how many credits you bet per round, 1 thru 5. To begin, click DEAL. You hold cards with the intent of keeping them and drawing new cards to try to improve your hand ranking. After drawing new cards, your hand is automatically scored and profits are payed out. You may then click "DEAL" and start over.

(back to top)

Contact

Acknowledgments

  • This variant of poker was inspired by Super Double Double as found in Las Vegas Casinos.

(back to top)

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

five_card_draw-1.0.5.tar.gz (4.8 MB view details)

Uploaded Source

Built Distribution

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

five_card_draw-1.0.5-py3-none-any.whl (4.8 MB view details)

Uploaded Python 3

File details

Details for the file five_card_draw-1.0.5.tar.gz.

File metadata

  • Download URL: five_card_draw-1.0.5.tar.gz
  • Upload date:
  • Size: 4.8 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.8

File hashes

Hashes for five_card_draw-1.0.5.tar.gz
Algorithm Hash digest
SHA256 a6d2d129508815e5a61824aa020a7204e240fdc11207155f9123ed6f642dd1c6
MD5 3e6ce5456a47fc1b847974f61ca9673b
BLAKE2b-256 b5b46a3584a840e361d7001addcb7dc3419e0b5eb2ebc1436b7b1c0d7004480a

See more details on using hashes here.

File details

Details for the file five_card_draw-1.0.5-py3-none-any.whl.

File metadata

  • Download URL: five_card_draw-1.0.5-py3-none-any.whl
  • Upload date:
  • Size: 4.8 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.8

File hashes

Hashes for five_card_draw-1.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 98fdc4889deba72e619bff81ae3201bd09d25038d5d408c12af3e099acece74a
MD5 fb8736797ef602c3e79636b357ecd4ae
BLAKE2b-256 767fead0d5c839987d77aa2b4d89c36b16e9d7e96b540c43c1ead9714c3ccb51

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