r/Unity3D • u/not_a_SWE • 3d ago
Question Completed my first ML-Agents project, a model that's really good at solving Zip puzzles! What's next?
Enable HLS to view with audio, or disable this notification
This was my first entry into reinforcement learning, specifically for the purpose of NPC intelligence. If you're on LinkedIn you have probably seen their daily games that pop up on the side bar. One of them (Zip) is pretty fun and it is a twist on a Hamiltonian Path; one day I had a random thought that it might be fun to train a model to become proficient at solving these puzzles without ever seeing them before - ie, not in the training data.
Of course, I had to implement the game in Unity first...so that's what I did! It took an absolute ton of trial and error but I ended up training on 8,000,000 steps across a huge mix of puzzles ranging from 3x3 to 8x8. Anyway, for those proficient in ML-Agents in Unity, are there any projects you might recommend next? I really enjoyed the ML-Agents workflow and would like to take a crack at something slightly more difficult (even though this was pretty difficult for me). Appreciate any feedback!
0
u/DSPSEGames 2d ago
Having them learn pathfinding instead of using a traditional algorithm is so cool! I'd love to see someone train a ragdoll to walk on its own. Don't you think it'd be so moving the first time it manages to stand up?!