DNET: Tweaks from player feedback (#2593)

This commit is contained in:
Michael Ficocelli
2026-03-26 18:38:45 -07:00
committed by GitHub
parent 38d5f3b364
commit fdd6d65c25
10 changed files with 96 additions and 54 deletions

View File

@@ -5646,12 +5646,18 @@ export interface Go {
* ".XO.#",
*
*]
*
* @remarks
* RAM cost: 0 GB
*/
getMoveHistory(): string[][];
/**
* Returns the color of the current player, or 'None' if the game is over.
* @returns "White" | "Black" | "None"
*
* @remarks
* RAM cost: 0 GB
*/
getCurrentPlayer(): "White" | "Black" | "None";
@@ -5659,6 +5665,9 @@ export interface Go {
* Gets the status of the current game.
* Shows the current player, current score, and the previous move coordinates.
* Previous move will be null for a pass, or if there are no prior moves.
*
* @remarks
* RAM cost: 0 GB
*/
getGameState(): {
currentPlayer: "White" | "Black" | "None";
@@ -5671,6 +5680,9 @@ export interface Go {
/**
* Returns the name of the opponent faction in the current subnet.
*
* @remarks
* RAM cost: 0 GB
*/
getOpponent(): GoOpponent;