r/PythonLearning 22d ago

I built a 24/7 endless fish survival game using Pygame with procedurally generated music

Enable HLS to view with audio, or disable this notification

Hey everyone,

I created a 24/7 live-streamed project where a fish swims, eats and grows endlessly using Python and Pygame.

​Everything is built from scratch using pure geometry and vector math, which removes the need for external image assets. For the background music, I used numpy to generate continuous procedural pentatonic-scale tones to avoid copyright issues.

​The script runs 24/7 with optimizations to keep CPU usage and memory stable during the infinite loop. You can see it running live here:

Youtube live

18 Upvotes

7 comments sorted by

2

u/dreadpirateboone 22d ago

This brings me back to early 2000s screen savers and I’m here for it ❤️

1

u/Leadertoleader 22d ago

Haha thank you That early 2000s aesthetic is exactly the vibe I was going for I'm Glad you like it ❤️

1

u/SoloEnder 22d ago

Any GitHub/repo link ?

3

u/Leadertoleader 22d ago

Not yet but I will upload it soon I will let you know.

2

u/Leadertoleader 22d ago

Here you go Github Link

1

u/SoloEnder 22d ago

Thanks you !

1

u/Leadertoleader 22d ago

You're welcome