Use itertools.cycle for playerIndex