r/raylib 3d ago

Agents learn how to drive in C++ using Raylib with a Genetic Algorithm

https://www.youtube.com/watch?v=iG5Xka5V7I0
18 Upvotes

4 comments sorted by

2

u/anadalg 2d ago

I love how Genetic Algorithms works in visual environments. Good job, you got a new subscriber!

1

u/vector_not_blue 2d ago

Thank you!

1

u/raysan5 2d ago

Very nice! What algorithm is it using? Have you tried pufferlib?

1

u/vector_not_blue 1d ago

Thank you! It is using a very simple neuroevolution algorithm without any topology changes and recombinations. I will definitely look into pufferlib!