lint
This commit is contained in:
parent
be91d21e68
commit
bf05f60cc1
1 changed files with 2 additions and 2 deletions
4
main.py
4
main.py
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue