Commit 8346d47a by BellCodeEditor

save project

parent 4bb3dbac
Showing with 5 additions and 0 deletions
...@@ -140,6 +140,11 @@ while True: ...@@ -140,6 +140,11 @@ while True:
if nem_list[i][j] == 0: if nem_list[i][j] == 0:
is_full = False is_full = False
if is_full == False: if is_full == False:
new_list[now_index] = num_list[i]
row_index -= 1
else:
score += 1
num_list = new_list
# 得分 # 得分
text_surface = font.render(str(score), True, (0, 0, 0)) text_surface = font.render(str(score), True, (0, 0, 0))
screen.blit(text_surface, (350,70)) screen.blit(text_surface, (350,70))
......
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