add ai for player