diff --git a/zangramru/services/puzzles.py b/zangramru/services/puzzles.py index 23b270b..01fc1fd 100644 --- a/zangramru/services/puzzles.py +++ b/zangramru/services/puzzles.py @@ -239,6 +239,7 @@ class PuzzleGenerator: prev = path[0] for tile in path[1:]: neigbours[prev].add(tile) + neigbours[tile].add(prev) prev = tile extras = {w: p for w, p in solutions.items() if w not in cover}