This video will show the full process of me coding two ai which one follows and the other flees from the cursor using the p5.js libary.
Here is the link for the game I codded in this video;
https://editor.p5js.org/MindForCode/s...
If you enjoyed the vieo, it would be much appreciated if you liked the video and subscribed.
If you have any questions or ideas for my next video, just comment down below.