def parse_replay(replay):
    """
    Read replay (turn by turn) and compute stats for a match.

    :param replay: Decoded replay data
    :return: Interesting stats to put into database
    """
    if replay is None:
        return None
    stats = replay["game_statistics"]
    return stats