用户:
大树成长查看:0 回复:0 评论:0 创建时间:2022-12-16T09:43:20
【作品展示】

【作品介绍】
1
【作品源代码】
import pygame
import sys
class game():
def run(self):
x = 800
y = 500
pygame.display.set_mode((x,y))
while True:
for event in pygame.event.get():
if event.type == pygame.QUIT:
pygame.quit()
sys.exit()
pygame.display.update()
a = game()
a.run()
【提示】
部分含有Python第三方库相关内容的作品,在海龟编辑器网页端无法运行哦!如遇到这种情况,可以打开下面的链接,下载海龟编辑器客户端:
https://python.codemao.cn