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.
- GUI - desktop app (Python)
- Core game - server (Pharo)
- Hand recognition - server (Clojure)
- Determiner of best hand - server (Haskell)
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
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
Implementation of this application part is stored in folder with name "core". To start the server, take a few steps:
- Run Pharo
- Install Tealight from Catalog Browser (Tools -> Catalog Browser)
- To get package from repository run in the Playground following code:
repositorySpec := 'Mijura/TexasHoldemPoker:master/core'.
Metacello new
baseline: 'PokerCore';
repository: 'github://', repositorySpec;
load.
- Load code into image from Monticello Browser.
- Run in Playground:
PCore new core.
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