JUST PRESS FLAG AND IT WILL GO EAT IT then click "space" to let go the AI, and when it is done, click on "E" to respawn a fruit and than click on "space". like at the start. ETC You can spam -> space , e , space , e , space , e , etc.
100% made by me, drawing/code/idea Im working on: wall(he will be able to detect them), fruit appear on your mouse when click(and it wll go eat them), make him choose the fastest path and the nearest fruit(if multiple fruit on fuild), different size of map, and at the end; try to make a zombie maze, that the player will have to escape and the zombies(AI) will have to get him. PLS NO ADS, AND NO, I DONT F4F