def add_score(user, score):
    """Add a score of the game

    Parameters:
        user: the dictionary of the user (dict)
        score: the score of the game (int)
    Returns:
        user: the update user (dict)
    """
    user['game']['score'] = score
    return user