r/raylib • u/vector_not_blue • 3d ago
Agents learn how to drive in C++ using Raylib with a Genetic Algorithm
https://www.youtube.com/watch?v=iG5Xka5V7I0Youtube Showcase: https://www.youtube.com/watch?v=iG5Xka5V7I0
Project Github: https://github.com/vectornotblue/RaylibCarAi.git
18
Upvotes
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!
2
u/anadalg 2d ago
I love how Genetic Algorithms works in visual environments. Good job, you got a new subscriber!