Hello guys, I have developed using mainly JavaScript a Snake game and I’ve implemented AI (I think).
I would appreaciate if you can give me your feedback to improve the AI algorithm (or the UI). My main struggle is that sometimes the snake gets in a spiral itself when there is a lot of space available, I have an idea on how to avoid it but it’s not that good.
submitted by /u/andresfigueira
[link] [comments]