def strategy(history, memory):  # does the opposite of what the opponent just did
    choice = 1
    if history.shape[1] >= 1 and history[1][-1] == 1:
        choice = 0
    return choice, None

02b4d5c682be849c450ca05b7948b2f86e7fb580
<mask token>

def strategy(history, memory):
    choice = 1
    if history.shape[1] >= 1 and history[1][-1] == 1:
        choice = 0
    return choice, None

def strategy(history, memory):  # does the opposite of what the opponent just did
    choice = 1
    if history.shape[1] >= 1 and history[1][-1] == 1:
        choice = 0
    return choice, None
