IPVGO: Add new analysis method to set a custom testing board state (#2029)

This commit is contained in:
Michael Ficocelli
2025-03-23 02:52:26 -04:00
committed by GitHub
parent de8c8691c2
commit 17ffabdfa5
11 changed files with 76 additions and 4 deletions
+1
View File
@@ -35,6 +35,7 @@ export function getNewBoardState(
passCount: 0,
cheatCount: 0,
cheatCountForWhite: 0,
komiOverride: null,
board: Array.from({ length: boardSize }, (_, x) =>
Array.from({ length: boardSize }, (_, y) =>
!boardToCopy || boardToCopy?.[x]?.[y]