AI usage example with Alpha–beta pruning algorithm