Code Monkey home page Code Monkey logo

poker_effective_hand_strength's Introduction

div

Poker_Effective_Hand_Strength

Poker_Effective_Hand_Strength calculates the hand strength [EHS = HS x (1 - NPOT) + (1 - HS) x PPOT] and hand potential by algorithms from https://en.wikipedia.org/wiki/Poker_Effective_Hand_Strength_%28EHS%29_algorithm

It extends https://github.com/mrAndersen/PokerAlgorithms ... PokerCore.php for calculating the deck combinations and adds the EHS calculations on top. It also uses jQuery for lazy dom selection for the view.

The actual heart is the HandStrength.php, which does all the calculations. The view has only been a fast fix to quickly get the decks into the processor.

Use case

I have been testing it with different Poker sites and it certainly gave me an edge in difficult decissions. But also it quickly teaches you a sense of your decks "weight", especially when you are not a Poker Pro.

How to get started

  1. Install an Apache, PHP 5 environment. The easiest to start are Windows xampp or Linux tasksel and add LAMP.
  2. Clone the Repo into your htdocs (xampp) or www/html (LAMP) folder.
  3. Navigate with your browser to it's location. Expl.: http://localhost/Poker_Effective_Hand_Strength/
  4. Enjoy!

poker_effective_hand_strength's People

Contributors

weedshaker avatar

Watchers

MichaelZ 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.