SMS dit: Characterising and recognising game-perfect graphs