The algorithm description for the preflop phase: Input: combination of the starting cards and the opponent’s action Output: poker bot action. Algorithm: - calculation of the group for starting cards - collecting information about the opponent’s action - selection of a proper action Algorithm for playing preflop divides all the possible starting hands into 9 different groups Each group has its own actions, depending on the opponent’s actions: ------------------------------------------------------------ Opponent Poker bot ------------------------------------------------------------ Group1 AA KK ------------------------------------------------------------ 1st position, check/call Raise 3-5x BB Raise Re-raise 3-4x of bet Re-raise All-in All-in Call ------------------------------------------------------------ Group2 QQ JJ AK AKs ------------------------------------------------------------ 1st position, check/call Raise 3-5x BB Raise Re-raise 3-4x of bet Re-raise QQ|JJ: call AK|AKs: All-in All-in Call ------------------------------------------------------------ Group3 TT AQs AQ AJs KQs ------------------------------------------------------------ 1st position, check or call Raise 3-5x BB Raise Call Re-raise Call All-in Fold ------------------------------------------------------------ Group4 99 88 77 ATs AT KJs AJ ------------------------------------------------------------ 1st position, check or call Raise 3-5x BB Raise Raise<= 40 call else fold Re-raise Raise<= 40 call else fold All-in Fold ------------------------------------------------------------ Group5 KQ QJs KTs JTs ------------------------------------------------------------ 1st position, check or call Raise 3-5x BB Raise Raise<= 30 call else fold Re-raise Raise<= 30 call else fold All-in Fold ------------------------------------------------------------ Group6 KJ QTs A9s A8s QJ ------------------------------------------------------------ 1st position, check or call Raise 3-5x BB Raise Raise<= 20 call else fold Re-raise Raise<= 20 call else fold All-in Fold ------------------------------------------------------------ Group7 Axs (x<8) KT JT K9s Q9s T9s J9s ------------------------------------------------------------ Opponent Poker bot 1st position, check or call Raise 3-5x BB Raise Raise<= 20 call else fold Re-raise Fold All-in Fold ------------------------------------------------------------ Group8 Ax (x