renamed const
This commit is contained in:
parent
d20f51b986
commit
c0be71036d
@ -4,7 +4,7 @@ from random import randint
|
||||
WALL = 0
|
||||
EMPTY = 1
|
||||
PATH = 2
|
||||
TEMP = 3
|
||||
DEAD = 3
|
||||
|
||||
|
||||
class CS235Maze(object):
|
||||
@ -32,7 +32,7 @@ class CS235Maze(object):
|
||||
self._solve(x, y, z + 1):
|
||||
return True
|
||||
else:
|
||||
self._data[x][y][z] = TEMP
|
||||
self._data[x][y][z] = DEAD
|
||||
return False
|
||||
|
||||
def solve(self):
|
||||
|
Loading…
Reference in New Issue
Block a user