Fixed issues with uncompleted logic in AIPlayer