Commit d7eecd14 by BellCodeEditor

save project

parent 1c7e7e19
Showing with 4 additions and 1 deletions
...@@ -54,7 +54,10 @@ def check(center): ...@@ -54,7 +54,10 @@ def check(center):
if cube[0] < 1 or cube[1] < 1 or cube[0] > grid_num_height \ if cube[0] < 1 or cube[1] < 1 or cube[0] > grid_num_height \
or cube[1] >grid_num_width: or cube[1] >grid_num_width:
return False return False
numlist=[]
for i in range(25):
numlist.append([0]*15)
print(numlist)
while True: while True:
for event in pygame.event.get(): for event in pygame.event.get():
if event.type == locals.QUIT: if event.type == locals.QUIT:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment