Poorly programmed, it doesn't learn from its mistakes, the games get stuck in a loop because the snake doesn't capture a piece but the piece remains and there's a gap, constantly moving the snake along the same path with negative scores in an infinite loop leaving an unaltered yin and yang ;) there's a repetitive pattern in these infinite games between the position of the gap and the piece
Yes, thousands of games, you can see how it happens in the displayed game matrix, there comes a point when they all enter those loops
https://ibb.co/bM4RPzPb