docs: def parse_game_result(result):
      "Parse an SGF result string into value target."
      if re.match(r'[bB]\+', result):
          return 1
      if re.match(r'[wW]\+', result):
          return -1
      return 0