News for hackers. Stuff that matters.
Re:Show HN: Watch a neural net learn to play Snake by jesuo on Friday May 15, 2026 @05:11PM (#48153904)
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
Re:Show HN: Watch a neural net learn to play Snake by spectre9 on Friday May 15, 2026 @05:58PM (#48154464)
Did you let it train? This doesn’t happen for me
Re:Show HN: Watch a neural net learn to play Snake by jesuo on Friday May 15, 2026 @06:08PM (#48154570)
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
Re:Show HN: Watch a neural net learn to play Snake by spectre9 on Friday May 15, 2026 @06:36PM (#48154836)
Makes sense, author mentioned training collapses eventually