plays graph for game