import pygame,sys
pygame.init()
screen_width=1000
screen_height=560
screen=pygame.display.set_mode((screen_width ,screen_height))
pygame.display.set_caption("打球")
pygame.mixer.init()
pygame.mixer.music.load("bg.mp3")
pygame.mixer.music.set_volume(0.4)
pygame.mixer.music.play(-1,0)
sound=pygame.mixer.Sound("素材/加分.wav")
def start():
bg=pygame.image.load("素材/background.png")
ikun_l=[]
ikun_r=[]
for i in range(1,4):
ikun_l.append(pygame.image.load("素材/l"+str(i)+".png"))
ikun_r.append(pygame.image.load("素材/r"+str(i) + ".png"))
basketball