Player engagement optimization using AI