import sqlite3


def game_string(conn, game_id):
    """Returns the pass strings of the given game"""
    conn.row_factory = sqlite3.Row
    c = conn.cursor()
    c.execute("SELECT pass_string, team_id FROM passes WHERE game_id=?", (game_id,))
    return [dict(zip(g.keys(), g)) for g in c.fetchall()]