Pokex

A poker engine

Implementing a library to play a Five Hand Draw poker variant.

Installation

The package can be installed by adding pokex to your list of dependencies in mix.exs

  • as a hex dependency:
def deps do
  [
    {:pokex, "~> 0.2.0"}
  ]
end
  • or as a git dependency:
def deps do
  [
    {:pokex, git: "https://bitbucket.org/vmanoli/pokex", tag: "v0.2.0"}
  ]
end

Play

You can open file play.exs for a short script that plays a single simple game.

The script can be played -after cloning the repo- by running:

mix run play.exs

or -after getting the dependency- by running:

mix run deps/pokex/play.exs

The file gameplay.exs also has playing commands using the Pokex API. They are not all implemented yet.

Documentation

Documentation can be found here.

Docs also served with :heart: and Felix


Roadmap

Steps to be taken later on as time allows.

  • Betting and Pot implementation
  • Better AI for computer player
  • Game server with multiple sessions
  • Better testing
  • Better docs