Merge pull request #310 from pdeblanc/stone-scoring

Add stone scoring option
This commit is contained in:
sanderland authored and GitHub committed 2021-01-05 19:32:12 +09:00
commit fa12547dcb
9 files changed
+25 -1

No files matched your search

+1 -1
View File
@@ -26,7 +26,7 @@ class KataGoEngine:
"""Starts and communicates with the KataGO analysis engine"""
# TODO: we don't support suicide in game.py, so no "tt": "tromp-taylor", "nz": "new-zealand"
RULESETS_ABBR = [("jp", "japanese"), ("cn", "chinese"), ("ko", "korean"), ("aga", "aga")]
RULESETS_ABBR = [("jp", "japanese"), ("cn", "chinese"), ("ko", "korean"), ("aga", "aga"), ("stone_scoring", "stone_scoring")]
RULESETS = {fromkey: name for abbr, name in RULESETS_ABBR for fromkey in [abbr, name]}
@staticmethod