def initial_sequence(player, opponent, action, initial_seq):
    """Play the moves in `seq` first (must be a list), ignoring the strategy's
    moves until the list is exhausted."""
    index = len(player.history)
    if index < len(initial_seq):
        return initial_seq[index]
    return action
