wheelchair basketball DAY 3


today i added erie high to the game i also add fouls to the game i want to say this in going to be done in pygame i havent ran anything yet because i havent got the basic code done that is needed i also added a pregame and a pa system

import pygame 
import random
from roster import rosters
from PA import PA_system
from  PA import os

class pregame:
  def announce(text):

    print(f"Announcer: {"player_name","player_number","player_postion"}")
    
class pyro:
   color = random

pre game code above

import pygame
import os 
from roster import rosters

class PA_system:
    pygame.mixer.init()
    pygame.init()


    sound_folder = "sounds"
    sound_file = "voice_line.wav" 


    try:
        voice_sound = pygame.mixer.Sound(os.path.join(sound_folder, sound_file))
        print(f"Loaded sound: {sound_file}")
    except pygame.error as e:
        print(f"Could not load sound file: {e}")
        exit()


    voice_sound.play() 


    running = True
    while running:
        for event in pygame.event.get():
            if event.type == pygame.QUIT:
                running = False
        
        
    pygame.quit()

here is the PA system

i also found out i have 37 teams to start off for this game

next week main foucs will be for the refs

heres all team logo


Leave a Reply

Your email address will not be published. Required fields are marked *