From a305a37967e4c972d01c95f35f3bf961323b61b8 Mon Sep 17 00:00:00 2001 From: Marek Date: Sun, 6 Jun 2021 17:59:10 +0100 Subject: [PATCH] Remove duplicate line in Board#place_stone in goboard.py While reading the chapter 3 I have noticed that this line is duplicated as part of the updated implementation using zobrist hashing. Haven't ran the code and but i'm assuming this was typo. --- code/dlgo/goboard.py | 1 - 1 file changed, 1 deletion(-) diff --git a/code/dlgo/goboard.py b/code/dlgo/goboard.py index 10faef88..a9f6ed84 100644 --- a/code/dlgo/goboard.py +++ b/code/dlgo/goboard.py @@ -88,7 +88,6 @@ def place_stone(self, player, point): else: if neighbor_string not in adjacent_opposite_color: adjacent_opposite_color.append(neighbor_string) - new_string = GoString(player, [point], liberties) # tag::apply_zobrist[] new_string = GoString(player, [point], liberties) # <1>