This commit is contained in:
Dominic DiTaranto 2025-08-29 22:10:07 -04:00
parent be91d21e68
commit bf05f60cc1

View file

@ -104,7 +104,7 @@ class Map:
if storage_type in row_elements: if storage_type in row_elements:
for xidx, element in enumerate(row_elements): for xidx, element in enumerate(row_elements):
if element == storage_type: if element == storage_type:
self.storage_locations.append((idx-1, xidx)) self.storage_locations.append((idx - 1, xidx))
self.map_array.append(row_elements) self.map_array.append(row_elements)
@ -146,7 +146,7 @@ class Map:
if key.char == '?': if key.char == '?':
os.system('clear') os.system('clear')
print(help) print(help)
response = input('Back to the game? Press any key to contiue: ') input('Back to the game? Press any key to contiue: ')
os.system('clear') os.system('clear')
if (self.total_win and self.win) or self.lose: if (self.total_win and self.win) or self.lose: