IPVGO: Fix formatting to avoid breaking external editors (#1215)

This commit is contained in:
Michael Ficocelli
2024-04-11 17:28:06 -04:00
committed by GitHub
parent ed59f325ef
commit dd3975ab1d
3 changed files with 12 additions and 5 deletions

View File

@@ -3995,14 +3995,14 @@ export interface Go {
* Returns a promise that resolves with the success or failure state of your last move, and the AI's response, if applicable.
* x:0 y:0 represents the bottom-left corner of the board in the UI.
*
* @param logOpponentMove - optional, if false prevents logging opponent move
* @param logOpponentMove - optional, defaults to true. if false prevents logging opponent move
*
* @remarks
* RAM cost: 0 GB
*
* @returns a promise that contains if your last move was valid and successful, the opponent move's x and y coordinates (or pass) in response, or an indication if the game has ended
*/
opponentNextTurn(logOpponentMove: boolean = true): Promise<{
opponentNextTurn(logOpponentMove?: boolean): Promise<{
type: "move" | "pass" | "gameOver";
x: number | null;
y: number | null;