A simple implementation of AI based upon behavior trees.