initialize_game(), draw_instructions(), handle_events(), update_balls(), render_text(), draw_restart_button(), etc.Ball class encapsulates properties and methods related to individual balls, such as position, velocity, color, and drawing functionality.game_loop.py respond to user input events, such as mouse clicks, and system events, such as quitting the game.