This was the first project in CS580: Artificial Intelligence in Games. Using Steve Rabin’s excellent macro-style FSM and message-passing architecture we were challenged with having several NPCs doing something interesting.

Initially I was doing some various patrolling behaviors, which became a simple game of Snake.

The most challenging part of this project was coordinating the behavior of multiple agents in a decentralized fashion.

The most rewarding part of this project was writing the individual state machines – this was just a really fun project, I love AI.