Commit 61cb8de6 by BellCodeEditor

save project

parent d0248d73
Showing with 13 additions and 2 deletions
......@@ -14,4 +14,15 @@ pygame.display.set_caption("俄罗斯方块")
clock = pygame.time.clock()
background = pygame.image.load('bg.png')
font =pygame.font.Font('STKAITI.TTF',60)
\ No newline at end of file
font =pygame.font.Font('STKAITI.TTF',60)
while True:
for event in pygame.event.get():
if event.type ==locals.QUIT:
exit()
screen.blit(background,(0,0))
pygame.draw.rect(screen,(255,0,0),(140,20,20),)
pygame.draw.rect(screen,(255,255,255),(140,20,20),)
\ 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