@@ -56,6 +56,9 @@ class Grid2D:
row, col = pos
self.grid[row][col] = val
def hash(self):
return tuple(map(lambda row: tuple(row), self.grid))
def clone_with_val(self, val):
c = Grid2D("d\nd")
c.n_rows = self.n_rows
The note is not visible to the blocked user.