So not sure if I’m approaching this wrong, but from what I can tell the AI used in the IDE testcases and the validation testcases is different? If so it makes this achievement less of an interesting puzzle and more of a “code an unique solution for this specific case”
Assuming optimal play by the AI, it would be impossible to get under 50 links as the AI can just circle the board forcing you to block exit links (please correct me if I’m wrong on this point)
So therefore to get the achievement you need to make your code specifically target the behaviour of the AI, however if the AI behaviour is different in the IDE and validation then the only way to do this is by constantly submitting to figure out the AI behaviour. Though this behaviour is frowned upon by the system because you get locked out if you submit too often. Also theres the chance you’ll randomly get the correct solution just through RNG.
I think this achievement would be more fun if there was a solution to beat and optimal AI, or if the AI behaviour was listed in the description, or if the AI behaviour necessary for the achievement was also in the IDE tests.
Or have I overlooked some intricacy for the puzzle somewhere? Did anyone solve this with a general solution or did everyone else do hardcoding or RNG manipulation?