- Home /
Question by
yuvadius · Oct 18, 2016 at 04:27 PM ·
aiartificial intelligencesnake
How to create an AI snake for a video game?
I am creating a snake game in Unity and I would like to implement AI snakes that wander around the globe while avoiding collision with the other snakes on the globe, and if possible I would also like to make the AI snakes purposefully trap other snakes so that the other snakes would collide and die.
The AI snakes must meet the following requirements:
They must move in a certain way. A snake is controlled by a user using the arrow keys on a keyboard, therefor I would also like the AI snakes to move using this form of input.
The AI snakes must move on a sphere
As I know, creating Artificial Intelligence is not an easy task and I would like to know if there are some open source projects that I can use for accomplishing this task.
example.png
(316.6 kB)
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612094910im_/https://answers.unity.com/themes/thub/images/avi.jpg)