Esempio n. 1
0
        void ExtractUncalledBetAction(Match uncalledBet)
        {
            double ratio = Convert.ToDouble(uncalledBet.Groups["Ratio"].Value.Replace(",", string.Empty));
            IAquiredPokerAction uncalledBetAction = _aquiredPokerActionMake.New.InitializeWith(ActionTypes.U, ratio);

            PlayerActions.Add(uncalledBetAction);
        }
Esempio n. 2
0
        void ExtractWinningAction(Match winning)
        {
            double ratio = Convert.ToDouble(winning.Groups["Ratio"].Value.Replace(",", string.Empty));
            IAquiredPokerAction winningAction = _aquiredPokerActionMake.New.InitializeWith(ActionTypes.W, ratio);

            PlayerActions.Add(winningAction);
        }
Esempio n. 3
0
        void ExtractAction(Match action)
        {
            string actionString = action.Groups["What"].Value;
            double ratio        = action.Groups["Ratio"].Success
                               ? Convert.ToDouble(action.Groups["Ratio"].Value.Replace(",", string.Empty))
                               : 1.0;

            ActionTypes actionType = ConvertActionString(actionString);

            IAquiredPokerAction aquiredAction = _aquiredPokerActionMake.New.InitializeWith(actionType, ratio);

            PlayerActions.Add(aquiredAction);
        }