My link to Assignment 10.
This week, we are asked to do exploration about autonomous agents. What I made is a game similar to Snake where the user can manipulate the snake by mouse. When it touches fruits, the length of it will increase, but when it touches the obstacles in another color, the length of it will decrease. There is recording of its length on the left top corner, and when it reaches 30 or is less than 2, the game will end. The only thing that is different form the typical game is that the snake is composed of several circles which are all autonomous agents. They follow each other one by one so that the snake is more flexible and interesting. Of course, the current version of the game is not too difficult because I didn’t make the boundaries the obstacle as well. I think there can be more elements to add to the game to make it more challenging.
Here is my short video demo and the endpoint of the game in the video was set to 10: