Logging added points
This commit is contained in:
@ -23,6 +23,8 @@ namespace WinGreed
|
||||
private HandleThrow _ht;
|
||||
public string Player { get; set; }
|
||||
public int TotPoints { get; set; }
|
||||
public int AddedPoints { get; set; }
|
||||
|
||||
List<int> Points = new List<int>();
|
||||
public frmPersonRound(string player)
|
||||
{
|
||||
@ -193,6 +195,7 @@ namespace WinGreed
|
||||
actTxtBox.Refresh();
|
||||
tempChsn += outPut.NumSum;
|
||||
txtChosenPoints.Text = tempChsn.ToString();
|
||||
AddedPoints = tempChsn;
|
||||
if (((TextBox)this.Controls.Find($"txtMaxValue{row}", true).FirstOrDefault()).Text == actTxtBox.Text
|
||||
&& int.Parse(actTxtBox.Text.Trim()) > 0
|
||||
&& _ht.Dices.Count(x => x.Chosen == true) == _ht.Dices.Count)
|
||||
@ -202,8 +205,8 @@ namespace WinGreed
|
||||
}
|
||||
}
|
||||
|
||||
numbers.ForEach(x => Debug.Write($"{x}, "));
|
||||
Debug.WriteLine(" -");
|
||||
//numbers.ForEach(x => Debug.Write($"{x}, "));
|
||||
//Debug.WriteLine(" -");
|
||||
return result;
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user