Implemented AIPlayer constructor