public bool AddMarkToCell(EnumForMarks.Mark mark, int location) { if (location > board.Length - 1) { throw new OutOfCellException(); } if (!IsBoardFull()) { cell.SetMark(mark); board = cell.IsCellEmpty(board, location); return(true); } return(false); }
public Player(string name,EnumForMarks.Mark mark) { this.name = name; this.mark = mark; }
public void SetMark(EnumForMarks.Mark mark) { this.mark = mark; }