Skip to content

Commit 50a06fb

Browse files
committed
Gyve: Disable follow-up marking.
1 parent e9af107 commit 50a06fb

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

src/games/gyve.ts

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -383,19 +383,19 @@ export class GyveGame extends GameBase {
383383
this.results = [];
384384
this.dots = [];
385385

386-
// calculate legal follow-ups
387-
if (partial && m !== "pass" && !m.includes(",") && this.stack.length > 1) {
388-
const n1 = this.calcN(m);
389-
const cloned = this.clone();
390-
cloned.board.set(m, this.currplayer);
391-
const g = this.graph;
392-
g.graph.nodes().filter(node => !cloned.board.has(node)).forEach(node => {
393-
const n2 = cloned.calcN(node);
394-
if (n1 === n2) {
395-
this.dots.push(node);
396-
}
397-
})
398-
}
386+
// // calculate legal follow-ups
387+
// if (partial && m !== "pass" && !m.includes(",") && this.stack.length > 1) {
388+
// const n1 = this.calcN(m);
389+
// const cloned = this.clone();
390+
// cloned.board.set(m, this.currplayer);
391+
// const g = this.graph;
392+
// g.graph.nodes().filter(node => !cloned.board.has(node)).forEach(node => {
393+
// const n2 = cloned.calcN(node);
394+
// if (n1 === n2) {
395+
// this.dots.push(node);
396+
// }
397+
// })
398+
// }
399399

400400
if (m === "pass") {
401401
this.results.push({type: "pass"});

0 commit comments

Comments
 (0)