5 Card Draw Video Poker application
Project description
VideoPoker-5CardRedraw
A pythonic creation of a 5 card redraw video poker.
Explore the docs »
View Demo
·
Report Bug
·
Request Feature
Table of Contents
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.
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
Getting Started
The following is an guide for running 5 card redraw poker locally.
Prerequisites
Installation
Local Repo Install:
Summary: The developer install is for those who want to contribute to or clone VideoPoker-5CardRedraw.
- Clone the repo (or use Github Desktop)
git clone https://github.com/ralbee1/5_card_draw.git
- Open the CLI and navigate the current working directory to where you cloned VideoPoker-5CardDraw
- 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 ```
Usage / How to Play
If your python files open with Python by default then from the commmand line run:
poker_start.py;
Troubleshooting:
- "'poker_start.py' is not recognized as an internal or external command, operable program or batch file." Your terminal needs to be able to find the file. For windows, you need to ensure your python "script" folder is in your path variable For example: C:\Users{username}\AppData\Roaming\Python{pythonversion}\Scripts You may also navigate to where the pip was installed and run poker_start.py with python manually.
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.
Contact
- Email - ralbee1@iwu.edu
- Project Link: https://github.com/ralbee1/VideoPoker-5CardRedraw
Acknowledgments
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file five_card_draw-1.0.8.tar.gz.
File metadata
- Download URL: five_card_draw-1.0.8.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cf1d13bdf73a9bd99ec813d0ae61f191336ddc8b4cde28156297a5e5cd63d675
|
|
| MD5 |
a9d5f82e6d22e90007d2f5548e98075a
|
|
| BLAKE2b-256 |
05f47af3cecda3aa45f8a66f54692c3e0c9e45f47ade7efcc923c5b481d68982
|
File details
Details for the file five_card_draw-1.0.8-py3-none-any.whl.
File metadata
- Download URL: five_card_draw-1.0.8-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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5c507b8baa56870f4e9b2e9c2ca77849d3e620ae49025f66ea2656d1a2d96a9d
|
|
| MD5 |
070f43a8745b1b0d5dff5049d7fa3314
|
|
| BLAKE2b-256 |
069d245e26f6d8db690d04c77de99fe850866cb6997f973f8df5434645384ad2
|