Commit a458c61d by BellCodeEditor

save project

parent 76968286
Showing with 289 additions and 0 deletions
name=input("勇于挑战的创造师你叫什么呀")
print(name+",你是最棒的创造师耶")
\ No newline at end of file
import pygame
import pygame
from pygame import locals
pygame.init()
score = 0
grid_size = 20
grid_num_width = 15
grid_num_height = 25
FPS = 30
screen = pygame.display.set_mode((460, 500))
pygame.display.set_caption("俄罗斯方块")
clock = pygame.time.Clock()
background = pygame.image.load('bg.png')
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)
pygame.draw.rect(screen,(255,255,255),
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