public bool PlaceChess(int row, int col, SpotValue value) { if (row < 0 || row >= RowCount || col < 0 || col >= ColCount) { Console.WriteLine($"{row},{col} is a invalid postion to place chess."); return(false); } if (Spots[row, col].Value != SpotValue.Empty) { Console.WriteLine($"{row},{col} is occupied!"); return(false); } Spots[row, col].Value = value; Console.WriteLine($"{row},{col} is placed a chess {value.ToString()}."); return(true); }