moved AIPlayer into engine