Commit c5bda34b by BellCodeEditor

save project

parent 8056893e
Showing with 4 additions and 4 deletions
import pygame
from pygame import locals
import random
pygame.init() # 初始化
score = 0
grid_size = 20 # 格子大小
......@@ -160,6 +159,7 @@ while True:
num_list = []
for i in range(25):
num_list.append([0] * 15)
score=0
# 刷新画面
pygame.display.update()
clock.tick(FPS)
\ No newline at end of file
pygame.display.update()
clock.tick(FPS)
\ No newline at end of file
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