public string Describe(string playerName, IAnalyzablePokerPlayer analyzablePokerPlayer, Streets street, ITuple <double, double> ratioSizes) { ActionSequences actionSequence = analyzablePokerPlayer.ActionSequences[(int)street]; return(string.Format("{0} {1} ({2} of the pot), when {3} on the {4}, and was reraised", playerName, DescribeAction(actionSequence), PostFlopRaiseReactionDescriberUtils.DescribeBetSizes(ratioSizes), StatisticsDescriberUtils.DescribePosition(analyzablePokerPlayer, street), street.ToString().ToLower())); }
public string Describe(string playerName, ActionSequences actionSequence, Streets street, bool inPosition) { return(actionSequence == ActionSequences.OppB ? string.Format("{0} reacted to a bet on the {1} when {2}.", playerName, street.ToString().ToLower(), StatisticsDescriberUtils.DescribePosition(inPosition)) : string.Format("{0} checked first and then reacted to a bet on the {1} when {2}.", playerName, street.ToString().ToLower(), StatisticsDescriberUtils.DescribePosition(inPosition))); }
public string Describe(string playerName, ActionSequences actionSequence, Streets street, bool inPosition) { return(string.Format("{0} bet on the {1} when {2}.", playerName, street.ToString().ToLower(), StatisticsDescriberUtils.DescribePosition(inPosition))); }