Trimmed the excess code from AIPlayer.java