Skip to content

Latest commit

 

History

History
23 lines (13 loc) · 514 Bytes

File metadata and controls

23 lines (13 loc) · 514 Bytes

Home > bitburner > Go > getCurrentPlayer

Go.getCurrentPlayer() method

Returns the color of the current player, or 'None' if the game is over.

Signature:

getCurrentPlayer(): "White" | "Black" | "None";

Returns:

"White" | "Black" | "None"

"White" | "Black" | "None"

Remarks

RAM cost: 0 GB