Koi Pond is an interactive Flash application built in my Programming for Digital Media class. This project was meant to show off AI which have behavior and personality, react to the presence of other objects and outside input. In the Koi Pond, the spotted koi follows a figure-eight path around the pond, and the orange koi follow. In addition, the yellow koi move from lily pad to lily pad. Clicking the mouse will direct the spotted koi to the area that you have clicked, given it isn’t out of bounds.
An example of code from this project (LeaderFlocker.as) is shown here.
Click here to check out Koi Pond.
Link to full Koi Pond source code