mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-18 15:28:43 +02:00
DNET: Tweaks from player feedback (#2593)
This commit is contained in:
committed by
GitHub
parent
38d5f3b364
commit
fdd6d65c25
12
src/ScriptEditor/NetscriptDefinitions.d.ts
vendored
12
src/ScriptEditor/NetscriptDefinitions.d.ts
vendored
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user