mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-16 14:28:36 +02:00
IPVGO: Add new analysis method to set a custom testing board state (#2029)
This commit is contained in:
committed by
GitHub
parent
de8c8691c2
commit
17ffabdfa5
12
src/ScriptEditor/NetscriptDefinitions.d.ts
vendored
12
src/ScriptEditor/NetscriptDefinitions.d.ts
vendored
@@ -4495,6 +4495,18 @@ export interface GoAnalysis {
|
||||
* @param resetAll if true, reset win/loss records for all opponents. Leaves node power and bonuses unchanged.
|
||||
*/
|
||||
resetStats(resetAll = false): void;
|
||||
|
||||
/**
|
||||
* Starts a new game against the "No AI" opponent, and sets the initial board size, pieces, and offline nodes to the given board state.
|
||||
* "X" represent black pieces, "O" white, and "." empty points. "#" are dead nodes that are not part of the subnet.
|
||||
*
|
||||
* @remarks
|
||||
* RAM cost: 4 GB
|
||||
*
|
||||
* @param boardState - The initial board state to use for the new game, in the format used by getBoardState().
|
||||
* @param komi - Optional komi value to set for the game. Defaults to 5.5.
|
||||
*/
|
||||
setTestingBoardState(boardState: string[], komi?: number): void;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user