Learning AI code - October 2012


Project for Computer Game Programming (15-466) Fall 2012. Character on the left is AI-controlled. Uses a hierarchical n-gram predictor to predict the opponent's next action. Using that prediction, it then uses a decision tree to figure out what its action should be. Also implemented in the project is a basic chat client and an 8-tone toon shader for the characters using the Unity default toon shader. In an in-class tournament of the AIs, this AI came in second.
Since this is a recurring project, code available only by request.