A simple AI written in Java.