Download PPL User Guide

Transcript
Page |2
Table of Contents
1. First Things First ................................................................................................................................................. 4
2. Introduction ......................................................................................................................................................... 4
2.1 Beep Feature = Fold or Beep Bot ................................................................................................................. 5
2.2 Simple Fold or Push Bot ............................................................................................................................... 7
3. PPL for the Shanky Technologies Poker Bots .................................................................................................... 7
3.1 What about a Custom Programming Interface? ............................................................................................ 8
3.2 PPL Structure and Elements ......................................................................................................................... 8
3.2.1 Conditions: ............................................................................................................................................. 8
3.2.2 Operators: ............................................................................................................................................. 13
3.2.3 Actions: ................................................................................................................................................ 14
3.2.4 Custom Bet Sizing: .............................................................................................................................. 15
3.2.5 User Defined Variables: ....................................................................................................................... 16
3.2.6 Opponent Name Variable .................................................................................................................... 18
3.3 Writing a Custom Profile ............................................................................................................................ 19
3.3.1 Start with the Word custom on One Line............................................................................................. 20
3.3.2 Use preflop, flop, turn or river on One Line to Start for Each Betting Round .................................... 20
3.3.3 End your code with When others + when others fold if you Want to Kill All Default Programming 20
3.3.4 Use the Word force after your Action.................................................................................................. 21
3.3.5 Bet Size Value...................................................................................................................................... 21
3.3.6 Statements ............................................................................................................................................ 21
3.3.7 Start Multiple Lines in Statements with or or and ............................................................................... 23
3.3.8 When Condition Without an Action .................................................................................................... 24
3.3.9 If a Statement Contains Both and’s and or’s, Surround the or’s in Parenthesis ................................. 25
3.3.10 Code is Read in Sequential Order ...................................................................................................... 27
3.3.11 Figuring Out Your Position ............................................................................................................... 28
3.3.12 Randomizing Actions......................................................................................................................... 29
3.3.13 Comments .......................................................................................................................................... 30
3.3.14 Customizable Time Delay.................................................................................................................. 31
3.4 Preflop Coding ............................................................................................................................................ 32
3.4.1 Preflop Actions .................................................................................................................................... 32
3.5 Preflop Custom Profile Code Examples ..................................................................................................... 33
3.5.1 Eliminating Hands Preflop ................................................................................................................... 33
3.5.2 Trapping in Early Position ................................................................................................................... 33
3.5.3 Aggressive Play for Tournaments ........................................................................................................ 33
3.5.4 Programming Fold or All-in Profiles ................................................................................................... 34
3.5.5 Taking this one step farther.................................................................................................................. 35
3.5.6 Programming for Hand Groups ........................................................................................................... 36
3.5.7 Using the StackSize Variable for NL Games ...................................................................................... 38
3.5.8 Using % Comparators .......................................................................................................................... 38
3.5.9 Example of a Complete Preflop Fixed Limit Profile ........................................................................... 41
3.6 Post-flop Coding ......................................................................................................................................... 47
3.6.1 Defining the Board State ...................................................................................................................... 48
Copyright 2008-2013 Shanky Technologies