protected override void CheckValidate() { int min = HitNumbers.Min(); if (this.AllowedChoiceNumber.Contains(min) == false) { Throw(min, "choice is not allowed"); } }
protected override void CheckValidate() { int min = HitNumbers.Min(); var col = Number.GetColumn(min); if (col != Column.C1 && col != Column.C2) { Throw(min, "square hit can only C1, C2"); } }
protected override void CheckValidate() { int min = HitNumbers.Min(); var col = Number.GetColumn(min); if (col != Column.C1) { Throw(min, "street hit can only C1"); } }