Git Product home page Git Product logo

holdem-poker's Introduction

TexasHoldemPoker

This is the implementation one of the most popular poker game Texas Hold 'em.

Application allows users to play this version of poker via net. Game is written in four various programming languages Python, Clojure, Haskell and Pharo.

alt text

Application parts

  • GUI - desktop app (Python)
  • Core game - server (Pharo)
  • Hand recognition - server (Clojure)
  • Determiner of best hand - server (Haskell)

Hand recognition - server (Clojure)

Implementation of this application part is stored in folder with name "evaluator". To launch server we use Leiningen. First you must navigate to the folder "evaluator" in terminal and then execute command:

lein ring server

Determiner of best hand - server (Haskell)

Implementation of this application part is stored in folder with name "determiner". To launch server we use Stack. First you must navigate to the folder "determiner" in terminal and then execute commands:

stack build
stack exec determiner

Core game - server (Pharo)

Implementation of this application part is stored in folder with name "core". To start the server, take a few steps:

  1. Run Pharo
  2. Install Tealight from Catalog Browser (Tools -> Catalog Browser)
  3. To get package from repository run in the Playground following code:
repositorySpec := 'Mijura/TexasHoldemPoker:master/core'.
Metacello new
  baseline: 'PokerCore';
  repository: 'github://', repositorySpec;
  load.
  1. Load code into image from Monticello Browser.

alt text

  1. Run in Playground:
PCore new core.

GUI - desktop app (Python)

Implementation of this application part is stored in folder with name "client". To start GUI app, navigate to the folder "client" in terminal and execute command:

python app.py

holdem-poker's People

Contributors

mijura avatar

Stargazers

Shay Galor avatar  avatar ddd avatar Hadj H. avatar  avatar  avatar zouyapeng avatar Nemanja Žunić avatar Nikola Dakić avatar Aleksandar Ilic avatar Igor Dejanović avatar

Watchers

 avatar

Forkers

zouyapeng

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.