25873aa72babbf1c197bdf1fe342fe8d58b5a70c
1 import GoRules
from "/variants/Weiqi/class.js";
2 import Move
from "/utils/Move.js";
3 import PiPo
from "/utils/PiPo.js";
4 import {ArrayFun
} from "/utils/array.js";
6 export default class AtarigoRules
extends WeiqiRules
{
9 let input
= WeiqiRules
.Options
.input
;
11 return {input: input
};
14 getCurrentScore(move_s
) {
15 if (move_s
[0].vanish
.length
> 0)
16 return (this.turn
== 'w' ? "0-1" : "1-0");