Texas Holdem Poker Engine

Overview

  • Setup Maven
  • Setup Eclipse
  • Setup Netbeans
  • Setup IntelliJ IDEA
  • Texas Holdem rules

Setup Maven

Download binary and unzip

Add Maven to path

Set JAVA_HOME path to jdk1.8

Register the poker engine

<!-- pom.xml -->
<dependency>
    <artifactId>texas-holdem-engine</artifactId>
    <groupId>com.mozzartbet.texasholdem</groupId>
    <version>1.0-SNAPSHOT</version>
</dependency>
mvn install:install-file \
    -Dfile=texas-holdem-engine.jar \
    -DartifactId=texas-holdem-engine \
    -DgroupId=com.mozzartbet.texasholdem \
    -Dversion=1.0-SNAPSHOT -Dpackaging=jar

Setting up Eclipse

Setting up Eclipse

Setting up Eclipse

Setting up NetBeans

Setting up NetBeans

Setting up IntelliJ

Setting up IntelliJ

Setting up IntelliJ

Texas holdem rules

At the start of the round, a dealer is assigned.

Players place the small blind and big blind.

 

The big blind is left to the to the dealer. (clockwise)

The small blind is left to the big blind. (clockwise)

 

If a player does not have enough money to post a big blind, he leaves the game.

Texas holdem rules

Every player is dealt 2 cards - they are called hole cards.

The initial betting round starts from the player at left of the small blind (clockwise).

After the initial betting round, the first player is the one who posted the big blind.

Texas holdem rules

Pre-flop - initial betting round

Flop - 3 cards dealt

Turn - 4 cards dealt

River - 5 cards dealt

Texas holdem rules

Played on no limit tables do not enforce betting limits, nor any raising limitations.

We wrote this bot!

Texas Holdem

By binary

Texas Holdem

  • 352