planar graph game