In Chapter 9 we recreate the game of Snake using our rlpp_designer's layout builder. We represent our agent as a collection of body parts that update and pile as the snake moves across the map, and we add a second snake to evaluate long term learning and a simplistic form of competition!
Checkout the book! https://ugarcil.github.io/The_RL_Playground_with_python/index.html
Patrick Loeber's tutorial series on Snake AI! https://www.youtube.com/watch?v=PJl4iabBEz0&t=1s&ab_channel=PatrickLoeber