Giter Club home page Giter Club logo

poker-calculator-webapp's Introduction

Poker Calculator Webapp

Poker Calculator is a JSF Primefaces web application designed for web servers like tomcat. It supports Poker hand evaluation for up to seven players with known hole cards in Omaha, Omaha Hi/Lo and Texas Hold'em.

You find an online version here: evolutionsoft.ch/poker-calculator-omaha-texas/

License

Poker Calculator is provided under the GPL-3.0 or later GPL versions license.

Known Issue

  • Redeploying a previously running poker-calculator-webapp needs a Server restart because of the shared libraries already loaded in another classpath

Requirements

The distribution here is designed to run on linux like systems only. It provides prebuilt shared objects only for the used poker-eval C implementation. You may need to rebuild the C library poker-eval for your local or server system.

The provided .so libraries in /lib folder should work on a x64 like linux system.

Installation Requirements

The provided release packages require libpoker-eval.so and libpokerjni.so to be present under /opt/poker-calculator-webapp/lib/.

You can change the default library lookup path by rebuilding the Java sources with mvn. You can adapt library.properties under src/main/resources before the mvn build to use your custom library location.

The webapp is deployable without the native C libraries setup correctly. A calculation of given hands will not be possible before the libraries are loaded successfully.

Implementation Details

Backend Calculator Dependency

Poker Calculator uses the poker-eval engine supporting even more Poker variations than implemented by Poker Calculator: (https://github.com/atinm/poker-eval)

Build poker-eval for Java

I've found an old build of poker-eval providing pokersource.jar, libpoker-eval.so and libpokerjni.so on my PC. However I can't give the details to get the three artifacts from the source no more at the moment.

Frontend JSF webapp

The frontend uses Primefaces 10.0 as JSF implementation.

poker-calculator-webapp's People

Stargazers

 avatar  avatar

Watchers

 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.