Pygame_100个随机小球
摘要:
import pgzrunimport randomWIDTH = 800HEIGHT = 600 balls=[] for i in range(100): x=random.randint(100,WIDTH-100) y=random.randint(100,HEIGHT-100) speed 阅读全文
posted @ 2021-10-04 12:25 小白随笔5946 阅读(225) 评论(0) 推荐(0) 编辑