public static int PfrMp(this PlayerHistory ph) { if (!ph.IsMiddlePosition()) { return(0); } return(ph.HandActions.PreflopHandActions().RealActions().Any(ha => ha.IsRaiseAction()) ? 1 : 0); }
public static int VpipMp(this PlayerHistory ph) { if (!ph.IsMiddlePosition()) { return(0); } return(ph.HandActions.PreflopHandActions().NotBlinds().Any(ha => ha.IsCallAction() || ha.IsRaiseAction()) ? 1 : 0); }