This check needs to be changed to allow the maximum number of levels for SELL side to reach the full size of the grid because it less than GRID_LEVELS, but to allow this change more code changes are needed.
|
if 0 <= level < GRID_LEVELS and (grid[level] == "" or grid[level] == "-"): |
This line has to be changed to grid = ["-"] * (GRID_LEVELS+1)
|
grid = ["-"] * GRID_LEVELS |
This line has to be changed to for n in range(last_level + 1, GRID_LEVELS+1):
|
for n in range(last_level + 1, GRID_LEVELS): |
This check needs to be changed to allow the maximum number of levels for SELL side to reach the full size of the grid because it less than GRID_LEVELS, but to allow this change more code changes are needed.
BlackBot/BlackBot.py
Line 37 in 8383887
This line has to be changed to grid = ["-"] * (GRID_LEVELS+1)
BlackBot/BlackBot.py
Line 123 in 8383887
This line has to be changed to for n in range(last_level + 1, GRID_LEVELS+1):
BlackBot/BlackBot.py
Line 166 in 8383887