Giter Site home page Giter Site logo

video-poker-tutor's Introduction

video-poker-tutor

Project Idea

Video Poker Tutor

A project that I have done for some beginning programming classes in the past has been a simple video poker machine. Its design is rather simple on paper and easy to explain to other people, though a bit difficult to code properly. The basic concept is that each round, a user can bet a set number of tokens, and is then dealt five cards. The user can choose any, all, or none of these five cards to keep, and the rest are discarded and replaced with new cards. After this, the hand is evaluated to see if it contains any of the standard poker hands, including flushes, straights, 3 or 4 in a row, and the like. If it does, the user wins that amount, though as there is no compensation for “high card” or one pair (unless it is a jack or higher), the player will likely lose.

As a gambling game, video poker will have a select market, mostly older clients, though unlike some games like slots or poker, there is a small element of skill, as the player has some control over which cards they keep or discard. However, as no actual money is being used to gamble here, it could also be used to teach newer players how to play at no risk, or simply teach people poker hands, as most of them are similar between the two.

Unlike a standard video poker machine, this machine will have a few additional tools that can be used to help teach newer players video poker should they choose to enable them. One tool can simply be used to automatically suggest which cards to hold and why. A second can calculate the probability of any hand with the given cards.

Sampled Libraries

Terminal

- https://github.com/thehomebrewnerd/python-video-poker

To start off with, it is usually easier to explain a concept through a terminal interface if it is at all possible to do so, as less time needs to be spent on making card designs or a layout, especially if you can simply return “ace of hearts” instead of a reference to an image of said card. This code will likely be referenced when starting out the project.

GUI

- http://www.paulgriffiths.net/program/python/tkvideopoker.php

The GUI here can be used to help compile the GUI portion of the software, as it is closer to my previous project in how the card system was handled. The GUI from the screenshots is rather rudimentary, so it will have to be a base for the final project, not a template for.

Simulator

- https://github.com/nickweinberg/Python-Video-Poker-Sim

This simulator can possibly be used to figure out the “optimal” scenario for the training tools, though the readme states that it may be slow, so I should look for a replacement library.

video-poker-tutor's People

Contributors

linghjackson avatar ksu-ndelosre avatar dhickma3 avatar

Stargazers

Kevin avatar

Watchers

Dominic Thomas avatar James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.