Bug
pitaohc opened this issue · 3 comments
I change the size of the map to 100*100. And obviously, it moves so slow and when its length
its route isn't the best one.
There are a screen picture and a vedio.
I thought if the snake's lenght is less than the lenght of the food it reaches ,it can go left or right and then go up or down .
I wish the message can help you
序列 01.zip
Which solver are you referring to?
This isn't a bug. Hamilton Solver does not guarantee the shortest path. Instead it builds a "safer" path that direct the snake to eat more food than other solvers. You can see from the doc that the snake will follow a Hamiltonian cycle to eat the food, which is consistent with the path in your video.
I'm trying to use English as much as possible so that more people can understand the conversation. Sorry about that.