gamelib.py
def play_sound(sound: str) -> None:
        """
        Play a sound located at the given path.

        Example:
            ```
            gamelib.play_sound('sound/jump.wav')
            ```

        Note:
            The only sound format that is supported accross all platforms (Windows/Mac/Linux)
            is WAV.
        """

        check_audio_format(sound)
        if system == 'Windows':
            _playsoundWin(sound)
        elif system == 'Darwin':
            _playsoundOSX(sound)
        else:
            _playsoundNix(sound)

        Play a sound located at the given path.

        Example:
            ```
            gamelib.play_sound('sound/jump.wav')
            ```

        Note:
            The only sound format that is supported accross all platforms (Windows/Mac/Linux)
            is WAV.
        
Play a sound located at the given path.
Play a sound located at the given path .
def play_sound(sound: str) -> None:
        check_audio_format(sound)
        if system == 'Windows':
            _playsoundWin(sound)
        elif system == 'Darwin':
            _playsoundOSX(sound)
        else:
            _playsoundNix(sound)
def play_sound ( sound : str ) -> None : check_audio_format ( sound ) if system == 'Windows' : _playsoundWin ( sound ) elif system == 'Darwin' : _playsoundOSX ( sound ) else : _playsoundNix ( sound )
Play a sound located at the given path.
Play a sound located at the given path .
"""
        Play a sound located at the given path.

        Example:
            ```
            gamelib.play_sound('sound/jump.wav')
            ```

        Note:
            The only sound format that is supported accross all platforms (Windows/Mac/Linux)
            is WAV.
        """
sound
str
examples
```
gamelib.play_sound('sound/jump.wav')
```
` ` ` gamelib . play_sound ( ' sound / jump . wav ' ) ` ` `