def list_games(interface):
    """
    Sends a request to retrieve a list of games to join/currently played and 
    outputs the response json. Returns the json and response.
    """
    response = interface.get_request('/games/')
    json = response.json()
    for i in range(len(json)):
        json[i]['ref_number'] = i + 1
    return json, response