Skip to content

Commit

Permalink
IPVGO: minor unrelated bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
ficocelliguy committed Mar 5, 2025
1 parent a1c953f commit 3a7b02e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Go/boardAnalysis/goAI.ts
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,7 @@ async function getIlluminatiPriorityMove(moves: MoveOptions, rng: number): Promi
return moves.corner()?.point ?? null;
}

const hasMoves = [moves.eyeMove(), moves.eyeBlock(), moves.growth(), moves.defend, surround].filter((m) => m).length;
const hasMoves = [moves.eyeMove(), moves.eyeBlock(), moves.growth(), moves.defend(), surround].filter((m) => m).length;
const usePattern = rng > 0.25 || !hasMoves;

if ((await moves.pattern()) && usePattern) {
Expand Down

0 comments on commit 3a7b02e

Please sign in to comment.