From 81fea33905c7f81719ec031eab51c68225eb7cce Mon Sep 17 00:00:00 2001 From: morvanzhou Date: Wed, 24 Oct 2018 20:05:42 +0800 Subject: [PATCH] fix bug --- contents/2_Q_Learning_maze/maze_env.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contents/2_Q_Learning_maze/maze_env.py b/contents/2_Q_Learning_maze/maze_env.py index d54b51f..1d69ada 100644 --- a/contents/2_Q_Learning_maze/maze_env.py +++ b/contents/2_Q_Learning_maze/maze_env.py @@ -42,7 +42,7 @@ def _build_maze(self): # create grids for c in range(0, MAZE_W * UNIT, UNIT): - x0, y0, x1, y1 = c, 0, c, MAZE_H * UNIT + x0, y0, x1, y1 = c, 0, c, MAZE_W * UNIT self.canvas.create_line(x0, y0, x1, y1) for r in range(0, MAZE_H * UNIT, UNIT): x0, y0, x1, y1 = 0, r, MAZE_H * UNIT, r