Duck Fear

This is actually not a game. This program solely exists to demonstrate the Flocking Behaviour Algorithm that I coded in JavaScript. I created this as a submission for an assignment in my Artificial Intelligence class.

I programmed the flocking system in a way so that ducks that separate from the main flock (due to walls or other obstacles) will still be able to form their own mini-flocks and continue flying forward.

Duck Fear