Rewritten get next move logic for CPU players