AIPlayer code formatting clean-up