# Start the game pgzrun.go()
# Hoop positions hoops = [ {'x': 80, 'y': 180, 'team': 1}, # Left Hoop (Team 1 scores here) {'x': 720, 'y': 180, 'team': 2} # Right Hoop (Team 2 scores here) ] basket random topvaz
# Update Players for p in players: # Gravity p['vy'] += GRAVITY p['x'] += p['vx'] p['y'] += p['vy'] # Start the game pgzrun
def update(): global score_p1, score_p2, game_message basket random topvaz
players[1]['x'] = 650 players[1]['y'] = HEIGHT - 100 players[1]['vy'] = 0