####
# Each team's file must define four tokens:
#     team_name: a string
#     strategy_name: a string
#     strategy_description: a string
#     move: A function that returns 'c' or 'b'
####

team_name = 'CatsdaBest' # Only 10 chars displayed.

strategy_name = 'Collude more than Betray'
strategy_description = 'Collude 70% of the time and betray 30% of the time, only after the other person betrays'

import random
 
def move(my_history, their_history, my_score, their_score):
    ''' Arguments accepted: my_history, their_history are strings.
    my_score, their_score are ints.

    
    Make my move.
    Returns 'c' or 'b'. 
    '''

    if 'b' in their_history:
        return 'b'
    else:
        if random.random():
            return 'b'
        else:
            return 'c'
            
    
