IPVGO: Updated DocString for the gameState object to correctly state that a null move is returned when the opponent passes or when there is no previous move. (#2158)

This commit is contained in:
Arjan-akkermans
2025-05-25 20:40:58 +02:00
committed by GitHub
parent 552d13ad6d
commit 551934ee25
4 changed files with 4 additions and 4 deletions

View File

@@ -4920,7 +4920,7 @@ export interface Go {
/**
* Gets the status of the current game.
* Shows the current player, current score, and the previous move coordinates.
* Previous move coordinates will be [-1, -1] for a pass, or if there are no prior moves.
* Previous move will be null for a pass, or if there are no prior moves.
*/
getGameState(): {
currentPlayer: "White" | "Black" | "None";