aki65 / aki65.github.io

73 stars 12 forks source link

change the rules #119

Closed Fly143 closed 8 months ago

Fly143 commented 9 months ago

It is hoped that the settings will include an option to switch between go rules, such as the common Chinese rules, Japanese rules, and Korean rules. Instead of only being able to use a specific rule of the software.Because in some situations, with specific game records, the result of victory or defeat can be completely different under different rules.

aki65 commented 8 months ago

In the latest release https://github.com/aki65/aki65.github.io/releases/tag/v1.19.8 you can change the rules in the settings and BadukAI will send them to KataGo. Be aware though, that there are minor differences between KataGo's rule implementation and the human rules (see https://lightvector.github.io/KataGo/rules.html and the documentation of kata-set-rules in https://github.com/lightvector/KataGo/blob/master/docs/GTP_Extensions.md)

Fly143 commented 8 months ago

This is just so cool!

Fly143 commented 8 months ago

Because I am a Chinese, I think the translation of the rules related to Chinese can be further optimized. 中文=中国规则 日本的=日本规则 韩国的=韩国规则 @aki65

aki65 commented 8 months ago

Thanks for the translations. I integrated them in the latest version ( https://github.com/aki65/aki65.github.io/releases/tag/v1.19.9 ).

VK3002 commented 3 months ago

Hi aki65, Could you please add an option for advanced user to customise specific rules? Katago does support this feature. It's fun to see katago behaves in different style / have different playing favours, also, I think it useful to learn how to handle the same situation under different specific rules(especially the ScoringRule, TaxRule and WhiteHandicapBonus) from katago. Just provide an input box to change specific rules(e.g. we can type something like kata-set-rule ko SIMPLE, kata-set-rule hasButton false, kata-set-rule tax ALL, kata-set-rule whiteHandicapBonus N-1 ...in it). Or you can do it your own way. Thanks

aki65 commented 3 months ago

Typing GTP commands is quite inconvenient and spelling errors may cause trouble, so I made a UI for setting the rules features (allowing custom combinations): https://github.com/aki65/aki65.github.io/releases/tag/v1.19.23

Fly143 commented 3 months ago

@aki65 Suggestions on Chinese translation:

【设置董事会外观】→【设置主题外观】

Regarding the modification of the UI part of the rules::

【习俗】→【自定义】

ko:

【SIMPLE】→【不禁全同】

【POSITIONAL】→【严格禁全同】

【SITUATIONAL】→【同一方落子后禁全同】

scoring:

【AREA】→【数子法】

【TERRITORY】→【数目法】

tax:

【tax】→【还棋头】

【NONE】→【不还棋头】

【SEKI】→【仅双活棋块还棋头】

【ALL】→【所有棋块均还棋头】

whiteHandicapBonus:

【whiteHandicapBonus】

→【让子贴还】

【0】→【不贴还】

【N-1】→【让N子还N-1目】

【N-】→【让N子还N目】

suicide:

【suicide】→【多颗棋子的棋块自杀】

hasButton:

【hasButton】→【让子规则下收后方贴还0.5目】

friendlyPassOk:

【friendlyPassOk】→【终局时不清除盘面死子】

VK3002 commented 3 months ago

Great! Thanks you, @aki65 . 感謝閣下提供中文翻譯 @Fly143 :+1:

aki65 commented 3 months ago

Thank you very much for the translations. I integrated them here: https://github.com/aki65/aki65.github.io/releases/tag/v1.19.24

Fly143 commented 3 months ago

Thank you very much for the translations. I integrated them here: https://github.com/aki65/aki65.github.io/releases/tag/v1.19.24

@aki65 I'm very sorry! Due to my negligence, there is a mistake in the Chinese translation. 【hasButton】should be translated as 【数子规则下收后方贴还0.5目】

aki65 commented 3 months ago

No problem. I changed it: https://github.com/aki65/aki65.github.io/releases/tag/v1.19.25