mark free space as called
This commit is contained in:
parent
d2d644ffd3
commit
0c22ac8a45
@ -9,6 +9,7 @@ class Board:
|
||||
self.cols.append(random.sample(range(15 * col + 1, 15 * col + 15), n))
|
||||
self.called.append([False] * 5)
|
||||
self.cols[2][2:2] = [0]
|
||||
self.called[2][2] = True
|
||||
self.border = "+----" * 5 + "+"
|
||||
|
||||
def print(self):
|
||||
|
Loading…
x
Reference in New Issue
Block a user