Ejemplo n.º 1
0
        static void createClipBoard(TableData tableData, string chips)
        {
            StringBuilder handHistory = new StringBuilder();
            handHistory.Append("PokerStars Hand #1: Tournament #1, $72.55+$1.45 USD Hold'em No Limit - Level I (");
            handHistory.Append(tableData.SB);
            handHistory.Append("/");
            handHistory.Append(tableData.BB);
            handHistory.AppendLine(") - 2013/01/01 13:00:00 JST [2013/01/01 00:00:00 ET]");

            handHistory.AppendLine("Table '1 1' 9-max Seat #" + (tableData.getLivePlayerCount() - 2) + " is the button");
            handHistory.AppendLine(chips);

            for (int i = 0; i < tableData.getLivePlayerCount(); ++i)
            {
                handHistory.AppendLine("Player" + (i + 1) + ": posts the ante " + tableData.Ante);
            }

            System.Windows.Forms.Clipboard.SetText(handHistory.ToString());
        }
Ejemplo n.º 2
0
 bool shouldCloseSituation(TableData result)
 {
     return (result.getLivePlayerCount() <= 1 && isMTT() == false)
         || (result.getLivePlayerCount() == 2 && isHyper())
         || (result.getHeroChip() <= 0 && isHyper());
 }