renamed const

This commit is contained in:
Stephen McQuay 2012-10-31 21:47:48 -07:00
parent d20f51b986
commit c0be71036d
1 changed files with 2 additions and 2 deletions

View File

@ -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):