def init_enemy_size(data):
    """
    Initializes enemy size dictionary
    :param data:
    :return: Enemy size dictionary
    """
    snakes = data['board']['snakes']
    size_dict = {snake['id']: len(snake['body']) for snake in snakes}
    #print('Initialized size_dict')
    return size_dict