optimal ghost game