drankdrankdrank.mp3
drankdrankdrank.mp3
This is a binary file and will not be displayed.
-10
nettsnake.py
-10
nettsnake.py
···
64
64
drank_image = pygame.image.load("drank.png")
65
65
drank_image = pygame.transform.scale(drank_image, (40, 40)) # change the size again
66
66
67
-
# this uhh it plays the fucking backgroudn music thank you
68
-
def play_audio(filepath):
69
-
pygame.mixer.init()
70
-
pygame.mixer.music.load(filepath)
71
-
pygame.mixer.music.play()
72
-
73
-
if __name__ == "__main__":
74
-
audio_file = "drankdrankdrank.mp3"
75
-
play_audio(audio_file)
76
-
77
67
# Game Over
78
68
def game_over():
79
69
my_font = pygame.font.SysFont('comic sans ms', 20)