Beispiel #1
0
        private void GetOpponent(string playerName)
        {
            VPIPReader reader = new VPIPReader(playerName);

            if (reader.HasExistingData())
            {
                ExistingOpponent(reader);
            }
            else
            {
                NewOpponent(playerName);
            }
        }
Beispiel #2
0
 private void ExistingOpponent(VPIPReader reader)
 {
     _playerData = reader.ReadData();
     _vpip       = CalculateVPIP(_playerData.NumberOfHands, _playerData.NumberCalls, _playerData.NumberRaises);
     PFR         = CalculatePFR(_playerData.NumberOfHands, _playerData.NumberRaises);
 }