protected override BoardCards ParseCommunityCards(string[] handLines) { //<ACTION TYPE="HAND_BOARD" VALUE="BOARD_RIVER" POT="3.64"> //<CARD LINK="30"></CARD> //<CARD LINK="35"></CARD> //<CARD LINK="20"></CARD> //<CARD LINK="8"></CARD> //<CARD LINK="44"></CARD></ACTION> BoardCards board = BoardCards.ForPreflop(); for (int i = handLines.Length - 1; i > 1; i--) { string Line = handLines[i]; if (Line[1] == 'A' && Line[14] == 'H' && Line[20] == 'O') { const int maxCards = 5; for (int cardIndex = i + 1; cardIndex <= i + maxCards; cardIndex++) { if (handLines[cardIndex][1] != 'C') { break; } board.AddCard(ParseCard(handLines[cardIndex])); } break; } } return(board); }