docs: def is_done(self):
          """True if the last two moves were Pass or if the position is at a move
          greater than the max depth."""
          return self.position.is_game_over() or self.position.n >= FLAGS.max_game_length